How To Use If And Else Operator In Jquery An Example
Posted On Tue Apr 24, 2012 By zcar In Javascipt Forums And Other Related Topics Discussion About Javascript Progamming Forums
this is an example i use for using the IF operator in javascript when using jquery.
you can find the complete script at the jquery official site:
http://api.jquery.com/slideDown/
$(document.body).click(function () {
if ($("div:first").is(":hidden")) {
$("div").slideDown("slow");
} else {
$("div").hide();
}
});
if ($("div:first").is(":hidden")) {
$("div").slideDown("slow");
} else {
$("div").hide();
}
});
you can find the complete script at the jquery official site:
http://api.jquery.com/slideDown/
Related Content
Information
Forums »
Javascipt Forums And Other Related Topics Discussion About Javascript Progamming »
How To Use If And Else Operator In Jquery An Example
Javascipt Forums And Other Related Topics Discussion About Javascript Progamming »
How To Use If And Else Operator In Jquery An Example
Title: How To Use If And Else Operator In Jquery An Example
Description: this page will show you how you can use the if operator in jquery
Tags: php ,computer ,programming ,script ,javascript ,jquery
Info: This Post Has Been Viewed 0 Times Since
Date: Tue Apr 24, 2012
Author zcar Received 0 Replies #848
Date: Tue Apr 24, 2012
Author zcar Received 0 Replies #848
Share
URL: 

Embed: 

To embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it
BBCODE:: 

BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
wallpaperama | Wallpapers | Forums | Terms Of Service
copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5
copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5