¡@

Home 

2014/10/16 ¤W¤È 12:09:20

jquery Programming Glossary: test1.jpg

jQuery to check image exists if head 404 than hide it

http://stackoverflow.com/questions/12994419/jquery-to-check-image-exists-if-head-404-than-hide-it

and don't want to show any error picture. This is my code but it doesn't work. html div id test img src http test.com test1.jpg img src http test.com test2.jpg img src http test.com test3.jpg div jquery var pic_list jQuery #test img pic_list.load function..

jQuery select img with src

http://stackoverflow.com/questions/3752857/jquery-select-img-with-src

the ul is sortable . Here is my HTML ul id sortable li id pic_0 div class sortEleWrapper div class imgWrapper img src test1.jpg div input type text name picText id picText value style width 105px color #aaa class sortInput div input type hidden id.. id picText value style width 105px color #aaa class sortInput div input type hidden id picSrc name picSrc value test1.jpg li ul etc. and here is my js if '#sortable' .find 'img src test1.jpg ' .length 0 alert 'img exists' else alert 'img dosnt.. div input type hidden id picSrc name picSrc value test1.jpg li ul etc. and here is my js if '#sortable' .find 'img src test1.jpg ' .length 0 alert 'img exists' else alert 'img dosnt exists' My problem is that they don't find any image. But if I write..