Help with FireFox Javascript in Bookmarklet
I need to be able to change the text of the currently selected input box using a bookmarket.
I can do this in Internet Explorer. Can you help figure out how to do it in FireFox?
Here is a test page explaining what's going on.
( http://yellowlamb.com/filltest/ )
If you can figure out the FireFox solution, reply to the post.
To work on the textbox, you may need to use setSelectionRange, and selectionStart, selectionEnd on the actual element.
http://www.aplustv.com/public_stuff/bbcodetest.htm
To detect which element fired the event, try using the "onselect" event handler to detect when the user starts selecting text.
Last edited by Ultimater; 01-29-2006 at 08:40 AM .
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
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
Bookmarks