insanemonkey
10-07-2007, 08:54 PM
ok I have this onclick thing for my textarea box. Just one thing,
when i try putting a image attribute to a input it gives me a wierd Url and everything is not working fine...?
<INPUT TYPE="image" VALUE="B" onClick="insertAtCaret(this.form.Copy,'B');" ID="BoldButton"
NAME="BoldButton" src="http://www.xudas.com/images/xudasaffy.gif">
I have also tried putting a onclick attribute to a image tag but it doesn't work?
<img src="http://www.xudas.com/images/xudasaffy.gif" border="0"
onClick="insertAtCaret(this.form.Copy,'B');" ID="BoldButton" NAME="BoldButton">
I don't know how to fix this, but you can see for yourself and please let me know how to fix this... thanks
Click here to see (http://www.xudas.com/test/bbcode2.html)
Thankyou
when i try putting a image attribute to a input it gives me a wierd Url and everything is not working fine...?
<INPUT TYPE="image" VALUE="B" onClick="insertAtCaret(this.form.Copy,'B');" ID="BoldButton"
NAME="BoldButton" src="http://www.xudas.com/images/xudasaffy.gif">
I have also tried putting a onclick attribute to a image tag but it doesn't work?
<img src="http://www.xudas.com/images/xudasaffy.gif" border="0"
onClick="insertAtCaret(this.form.Copy,'B');" ID="BoldButton" NAME="BoldButton">
I don't know how to fix this, but you can see for yourself and please let me know how to fix this... thanks
Click here to see (http://www.xudas.com/test/bbcode2.html)
Thankyou