Form Value Question

liunx

Guest
Here's what Im trying to do,<br />
<br />
<br />
Pick an Icon</center> <br><br />
<img src=http://www.htmlforums.com/archive/index.php/"htp://www.phone.gif"><input type="radio"<br />
name="icon" onclick="check(this.value)"<br />
value="htp://www.phone.gif">Phone<br><br />
<center><input type="text"size="55" name="answer"><br />
</form><br />
<br />
I would like the box to include the <img SRC=http://www.htmlforums.com/archive/index.php/"http:// etc.<br />
But it will only post in the Box <!-- m --><a class="postlink" href="htp://icon">htp://icon</a><!-- m --> location and I can't get the <img SRC= <!-- m --><a class="postlink" href="http://www.htmlforums.com/archive/index.php/to">http://www.htmlforums.com/archive/index.php/to</a><!-- m --> be posted after the value=<br />
<br />
<br />
Wanted to make it so it could be copy and pasted and ready for use.<br />
<br />
Typo's http on purpose for this posting<!--content-->try this (or a variation of it). I used the character codes, but you could also have javascript do the work. <br />
<br />
<br />
<form name=f1><br />
<input type=radio value=" & l t ; img src= <!-- m --><a class="postlink" href="http://www.htmlforums.com/archive/index.php/&">http://www.htmlforums.com/archive/index.php/&</a><!-- m --> q u o t ; <!-- m --><a class="postlink" href="http://www.yahoo.com/icon.gif">http://www.yahoo.com/icon.gif</a><!-- m --> & q u o t ; & g t ; " oncLICK="javascript: alert(this.value)"><br />
</form><br />
<br />
<br />
<br />
obvoiusly the & q u o t ; is qithout spaces, and so on.<!--content-->Couldn't get yours to work, but I finally got it..<br />
<br />
<input type="radio"<br />
name="icon" onclick="check(this.value)"<br />
value="<img SRC='http://www.testcom/phone.gif'">phone<br><br />
<br />
Needed to use single '<!--content-->hmmmn.... not sure, all you had to do is remove the spaces. See attached file, and click radio button.<!--content-->
 
Back
Top