HighDots Forums  

createTextRange and Input Boxes

alt.html.dhtml alt.html.dhtml


Discuss createTextRange and Input Boxes in the alt.html.dhtml forum.



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

Default createTextRange and Input Boxes - 05-11-2006 , 01:39 PM






Hi,
I am trying to create a find and replace function on my HTML page. I can
easily search the body of the document using the following code:

var rng = document.body.createTextRange();
rng.findText( ... ) etc

However the range does not include the text from input type="text"
objects. Is there anyway that I can include them in one textrange object?

Thanks,
Sam


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.