Google Community
Latest Forums Rules Resources
Custom Search

Go Back   Google Community > Webmaster Forums > Web Design, Coding & Programming Forum

GoogleCommunity Sponsor
Cirtex Hosting
Use coupon "forum" for 50% Off!

Reply
 
LinkBack Thread Tools Display Modes
Old 11-23-2007, 10:13 PM   #1 (permalink)
Junior Googler
 
Join Date: Jan 2006
Location: London
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
londoner
To execute an html and javascript with one click

Greetings

Please is there a way to execute these two scripts bellow, one of them is html and the other is javascript, with one click:

<input type="button" onClicK="top.clearCountings(), top.clearIt()"
value="CLEAR TABLES AND INTERNAL COUNTERS">

<a href="lottoDown.html" target="lottoDown">CLEAR RIGHT FRAME</a>

Both belong to this: Lotto Number Generator


Regards
londoner is offline   Reply With Quote
 
Sponsored Links
Old 11-25-2007, 10:54 PM   #2 (permalink)
Junior Googler
 
Join Date: Jan 2006
Location: London
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
londoner
Quote:
Originally Posted by londoner View Post
Greetings

Please is there a way to execute these two scripts bellow, one of them is html and the other is javascript, with one click:

<input type="button" onClicK="top.clearCountings(), top.clearIt()"
value="CLEAR TABLES AND INTERNAL COUNTERS">

<a href="lottoDown.html" target="lottoDown">CLEAR RIGHT FRAME</a>

Both belong to this: Lotto Number Generator


Regards
Problem solved with the script bellow:

<input type="button" onclick="top.clearCountings(), top.clearIt();document.getElementById('oClear').cl ick()"
value="CLEAR TABLES AND INTERNAL COUNTERS">

<a id="oClear" href="lottoDown.html" target="lottoDown">CLEAR RIGHT FRAME</a>
londoner is offline   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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Isn't X-HTML like the older version of HTML? ricards All About Google 1 11-17-2005 10:34 AM
Javascript and spiders maritimer Search Engine Optimization Forum 4 10-29-2005 09:36 PM
Javascript menus & SEO Adam Search Engine Optimization Forum 8 10-12-2005 12:52 PM
HTML-JAVASCRIPT? JshLnsctt Web Design, Coding & Programming Forum 4 02-19-2005 11:16 AM
Isn't X-HTML like the older version of HTML? ricards All About Google 1 01-01-1970 10:08 AM


All times are GMT -8. The time now is 01:51 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004–2007 Google Community