Category Archives: Jquery

childs with Jquery (select,ul)

jQuery(document).ready(function() { jQuery(‘#active_booking_formid :nth-child(2)’).attr(‘selected’, ‘selected’); jQuery(‘#active_booking_formid’).trigger(‘change’); jQuery(‘ul.art-menu>li:nth-child(1) a’).addClass(‘menuItem2’); jQuery(‘ul.art-menu>li:nth-child(1) a span.t’).addClass(‘specialforhome’); /*jQuery(‘ul.art-menu>li:nth-child(3) a’).addClass(‘menuItem2’); // services jQuery(‘ul.art-menu>li:nth-child(5) a’).addClass(‘menuItem2’); //contact us */ }); Advertisements

Posted in Jquery | Tagged ,

javascript method for ajax

function getVersionInfo(contentID,version) { $(‘input[name=published]’).removeAttr(‘checked’); //reset publish //alert(version); $.ajax({ url: “/CSAB/Content/selectedversioninfo/”+version+”/”+contentID+””, dataType:”xml”, success: function(xml){ //alert(xml); var phisicalName=find(xml, “phisical-name”); var selectedVersion=find(xml, “selected-version”); var publishedVer=find(xml, “published-ver”); var contents=find(xml, “contents”); $(“#phisicalNameid”).val(phisicalName); $(“#contentsid”).val(contents); } }); } function find(xml, name) { var nodes = xml.documentElement.childNodes; for … Continue reading

Posted in Jquery | Leave a comment

Jquery slideshow with exllent transition

http://www.4shared.com/file/ViNcsCI7/nivo-slider252.html see it in action

Posted in Jquery | Leave a comment

good tutorial to start jquery learning

http://www.esri.com/careers/category/software-development-engineering.html

Posted in java Script, Jquery | Tagged , , | Leave a comment