Hi friends,
I am Raghuram Reddy Adobe certified coldfusion developer.
Here I am going to share some basic jquery syntaxes and examples.
1) This is just like a onload function in javascript
$(document).ready(function(){
$("input").click(function(event){
alert("thanks for visit");
});
});
2) To prevent the default properties:
event.preventDefault();
<a href="http://raghuram.com/">Raghu</a>
3) To show/hide the content inside the div/class element.
$(#myID).hide("slow");
$(#myID).show("slow");
4) To add the styles :
$("a").addClass("test");
$("a").removeClass("test");
5) To change the text in side the tag:
$("a").html("Raghuramg");
it wil change the innerHTML text
Very soon i am gonna update with rich UI interface,controls designing and validations using JQuery.
Email me at raghuramgreddy@gmail.com
Happy Coding
Raghuram Reddy Gottimukkula
Bangalore










Recent Comments