javascript - Multiple JQuery elements on a page not working when placed together -


i designing website jquery zweather feed yahoo. wanted make large image gallery faded next image.

i tried adding jcobb basic-slider. slider worked perfect, jquery zweather feed stopped working. thought might have jcobb basic-slider "trigger" went in outermost div, or might have library.

i abandoned using slider, still use it. can put more 1 javascript/jquery items on page? if 1 item has "trigger, other not? if curious, site working on is:

www.orangeburgcounty.org/countywebsite/index.asp

there few things can try working.

  1. be sure script being pulled page, 1 way check using 'sources' tab in chrome debugger , searching file else in html head section

  2. be sure you've included datatale script after you've included jquery, dependant upon that.

  3. check whether jquery included , once only.

  4. watch out jquery conflicts. there other library overridding $, code not working because $ not alias jquery anymore. can use jquery.noconflict() avoid conflicts other libraries on page use same variable $.

  5. check chrome/firebug developer tools js errors.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -