🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4820

Java Script Functions in TCppWebBrowser

#4820
From: MwnN
Date: Sun, 19 Dec 2004 22:18
11 lines
1143 bytes
Hi,

Is it posible to call a java script function from inside a page when the web document has fully loaded instead of having to click on the button which will submit the form?

If so how might I go about it if the orignal document has the following for excuting the java script function...

<a href="javascript:void(document.yesForm.submit())">Option 1 Yes</a>

Thanks for your input,
MwnN
Technical Details
Message-ID: <41c5fe40$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a9720944a62da946,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "MwnN" <MwnN@localhost.com>
Sender: "MwnN" <MwnN@localhost.com>
Reply-To: "MwnN" <MwnN@localhost.com>
Subject: Java Script Functions in TCppWebBrowser
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 81.98.94.208     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <41c5fe40$1@newsgroups.borland.com>
Date: 19 Dec 2004 14:18:40 -0800
X-Trace: newsgroups.borland.com 1103494720 207.105.83.66 (19 Dec 2004 14:18:40 -0800)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail