SitePoint Sponsor |
|
User Tag List
Results 1 to 1 of 1
Hybrid View
-
Dec 22, 2003, 01:13 #1
- Join Date
- May 2002
- Location
- Southern California
- Posts
- 408
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
auto-hilight text in textbox (mozilla)
is there a way to make mozilla work with the .select() command?
in IE6 all i do is
Code:<script language="JavaScript"> <!-- document.search.input.select(); //--> </script>
i'm using it for a search box. after the user submits their query, the original search input is still in the box but highlighted so they can just type a new query or right-arrow to add moreFree Tools: ezSQL | SafeSQL | MySQL Front | Smarty | Xoops - Smarty Based Portal
Interesting Threads: Print vs Echo | Undo magic quotes in .php
Bookmarks