Blog Archives

Debugg Your Javascript by using FireBug Plugin for Mozilla Firefox

Debugging Javascript was very hard and time consuming. Fire bug is very good tool for monitoring html, css javascript and Ajax request. Also we can use firebug as a reengineering tool for online applications

Tagged with: ,
Posted in javascript, security, Troubleshoot

HTTP REDIRECT

PHP Redirect <?php header(“Location: http://www.example.com/”); /* Redirect browser */ /* Make sure that code below does not get executed when we redirect. */ exit; ?> Javascript Redirect <script type=”text/javascript”> <!– window.location = “http://www.arunrajr.com/” //–> </script>

Tagged with: , ,
Posted in javascript, PHP, Programming

Toggle visibility between none and inline

function toggle_it(itemID){ // Toggle visibility between none and inline if ((document.getElementById(itemID).style.display == ‘none’)) { document.getElementById(itemID).style.display = ‘inline’; } else { document.getElementById(itemID).style.display = ‘none’; } }

Tagged with: , ,
Posted in javascript, Programming

JavaScript Frame work

A powerful javascript frame work. ProtoType.Js Prototype is a JavaScript Framework that aims to ease development of dynamic web applications. Featuring a unique, easy-to-use toolkit for class-driven development and the nicest Ajax library around, Prototype is quickly becoming the codebase

Tagged with: , , ,
Posted in javascript, Programming

Light Weighted javascript Libraries

This website provides Ultra lightweight JavaScript libraries . That helps JavaScript developers http://orangoo.com/labs/Main/ main OpenSource pojects are: GoogieSpell is a spell checker that you can use in your own web-application. GreyBox can be used to display websites, images and other

Posted in javascript, Programming

JAVA SCRIPT PAGE REFRESH

<a href=”#” onclick=”javascript:window.location.reload();”><strong>refresh</strong></a>

Tagged with: ,
Posted in javascript, Programming

Javascript Back button

<a href=”#” onclick=”history.go(-1)”>back</a>

Posted in javascript, Programming

Input Field accepting only numbers using javascript

<input name=”demo” type=”text” id=”demo” onkeypress=”var unicode=event.keyCode? event.keyCode : event.charCode;if ((unicode < 32 || unicode > 33)&&(unicode < 45 || unicode > 57))  return false; return true;”> This code compatible to all browsers !

Posted in javascript, Programming