views:

25

answers:

1

im having dynamically created image tags, in php foreach function img scr=asdfsf.gif... so if i click on a particular image the src of the image store in a javascript variable

should not use onclick, use binding the image javascript..

A: 

You need to use live() method of jquery for that i suppose.

Sarfraz
no jquery, not use jquery
udhaya