Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Javascript only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Javascript
How to send highlighted word to server
How to send highlighted word to server
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Niloufar
New Member
Join Date:
Oct 2010
Posts:
1
#1
How to send highlighted word to server
Oct 2 '10, 07:44 PM
How can I write a piece of code in Ajax which when the user highlights a word on his browser that word is sent to server?
RamananKalirajan
Contributor
Join Date:
Mar 2008
Posts:
608
#2
Oct 4 '10, 08:58 AM
highlight means? Are you saying about the selected text?
Thanks and Regards
Ramanan Kalirajan
Comment
Post
Cancel
Niloufar eee
#3
Oct 4 '10, 11:53 PM
Y
Yes the user selects a word by highlighting it on the webpage, I want that highlighted word to be sent to server
Comment
Post
Cancel
RamananKalirajan
Contributor
Join Date:
Mar 2008
Posts:
608
#4
Oct 5 '10, 03:45 AM
This
link
will be helpful for you.
Thanks and Regards
Ramanan Kalirajan
Comment
Post
Cancel
rnd me
Recognized Expert
Contributor
Join Date:
Jun 2007
Posts:
427
#5
Oct 8 '10, 09:03 PM
Code:
var i=new Image; i.src="cgi.php?sel=" + escape(document.getSelection());
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment