Adding image with a onclick event
All,
I am a complete new to javascript (but not to PHP and HTML).
What i try to accomplish is the following:
Read my data from a mysql table into a javascript array .
Next i like to add two columns with an edit icon and a delete icon.
Both images will have an onclick event popping up an other window with an edit form or confirm message.
The access to the mysql works but I like some help in adding the two additional rows with an clickable image.
Anybody have some examples or hints where i can find some information.
Thanks in advance
KArel
BTW I am aware that you can make the grid itself editable but that is not what i am after.
I am a complete new to javascript (but not to PHP and HTML).
What i try to accomplish is the following:
Read my data from a mysql table into a javascript array .
Next i like to add two columns with an edit icon and a delete icon.
Both images will have an onclick event popping up an other window with an edit form or confirm message.
The access to the mysql works but I like some help in adding the two additional rows with an clickable image.
Anybody have some examples or hints where i can find some information.
Thanks in advance
KArel
BTW I am aware that you can make the grid itself editable but that is not what i am after.
Karel Bokhorst
May 21,