|
-
Dec 8th, 2000, 03:49 AM
#1
Thread Starter
Hyperactive Member
Is there a way in Internet Explorer (other than going to the edit menu then clicking find, or just pressing ctrl + f)
to get the find dialog box up.
Basically I'm looking for something that will find string values within a page.
Please help.
Cheers Matt.
-
Dec 8th, 2000, 08:16 PM
#2
Fanatic Member
Here are two examples
This one opens the find dialog box
Code:
<script language="JavaScript1.2">
function PageFind()
{
window.find();
}
On the other hand this one will search the page by passing vars to the function (only works in Netscape, possibly IE5).
Code:
<script language="JavaScript1.2">
function PageFind(tString){
window.find(tString)
}
</script>
Dog<br>
Bear<br>
Cat<br>
Bird<br>
Fish<br><br>
<form>
<input type="text" name="myString">
<input type="button" onClick="PageFind(this.form.myString.value)" value="Find">
</form>
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|