HighDots Forums  

Copy value when button is clicked

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Copy value when button is clicked in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Zwi2000
 
Posts: n/a

Default Copy value when button is clicked - 07-15-2004 , 02:12 PM






Also,

Is there a way that when a user clicks on an image to set the value of a
form field to something like :"N/A" ?

Z



Reply With Quote
  #2  
Old   
Joe Makowiec
 
Posts: n/a

Default Re: Copy value when button is clicked - 07-15-2004 , 02:28 PM






On Thu 15 Jul 2004 02:12:38p, Zwi2000 wrote in macromedia.dreamweaver:

Quote:
Is there a way that when a user clicks on an image to set the value of a
form field to something like :"N/A" ?
<a href="javascript:;"
onclick="javascript:document.form1.field1.value='N /A'">
<img src="xyzzy.jpg"></a>


Reply With Quote
  #3  
Old   
Zwi2000
 
Posts: n/a

Default Re: Copy value when button is clicked - 07-15-2004 , 02:42 PM



Thanks, I will give it a try.

Z



"Joe Makowiec" <webmaster (AT) munged (DOT) brunswicklibrary.invalid> wrote

Quote:
On Thu 15 Jul 2004 02:12:38p, Zwi2000 wrote in macromedia.dreamweaver:

Is there a way that when a user clicks on an image to set the value of a
form field to something like :"N/A" ?

a href="javascript:;"
onclick="javascript:document.form1.field1.value='N /A'"
img src="xyzzy.jpg"></a



Reply With Quote
  #4  
Old   
Zwi2000
 
Posts: n/a

Default Re: Copy value when button is clicked - 07-15-2004 , 03:06 PM



Worked great, thanks !!!


"Zwi2000" <zwi2000 (AT) hotmail (DOT) com> wrote

Quote:
Thanks, I will give it a try.

Z



"Joe Makowiec" <webmaster (AT) munged (DOT) brunswicklibrary.invalid> wrote in
message
news:Xns952793428183makowiecatnycapdotrE (AT) 216 (DOT) 104.212.96...
On Thu 15 Jul 2004 02:12:38p, Zwi2000 wrote in macromedia.dreamweaver:

Is there a way that when a user clicks on an image to set the value of
a
form field to something like :"N/A" ?

a href="javascript:;"
onclick="javascript:document.form1.field1.value='N /A'"
img src="xyzzy.jpg"></a





Reply With Quote
  #5  
Old   
Mick White
 
Posts: n/a

Default Re: Copy value when button is clicked - 07-15-2004 , 04:56 PM



.... onclick="document.form1.field1.value='N/A';">
Mick

Joe Makowiec wrote:

Quote:
On Thu 15 Jul 2004 02:12:38p, Zwi2000 wrote in macromedia.dreamweaver:


Is there a way that when a user clicks on an image to set the value of a
form field to something like :"N/A" ?


a href="javascript:;"
onclick="javascript:document.form1.field1.value='N /A'"
img src="xyzzy.jpg"></a

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.