HighTechTalks DotNet Forums  

simplest javascript

Dotnet Scripting microsoft.public.dotnet.scripting


Discuss simplest javascript in the Dotnet Scripting forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
rodchar
 
Posts: n/a

Default simplest javascript - 09-26-2005 , 07:26 PM






hey all,

can someone please show me how to just have a simple button and everytime
the button is pushed it is incremented by 1 and showed on the screen?

thanks,
rodchar

Reply With Quote
  #2  
Old   
Bruce Barker
 
Posts: n/a

Default Re: simplest javascript - 09-27-2005 , 12:04 PM






<button onclick="++this.value">0</button>

-- briuce (sqlwork.com)


"rodchar" <rodchar (AT) discussions (DOT) microsoft.com> wrote

Quote:
hey all,

can someone please show me how to just have a simple button and everytime
the button is pushed it is incremented by 1 and showed on the screen?

thanks,
rodchar



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 - 2008, Jelsoft Enterprises Ltd.