473,411 Members | 1,980 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

How to send highlighted word to server

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?
Oct 2 '10 #1
4 1154
RamananKalirajan
608 512MB
highlight means? Are you saying about the selected text?

Thanks and Regards
Ramanan Kalirajan
Oct 4 '10 #2
Yes the user selects a word by highlighting it on the webpage, I want that highlighted word to be sent to server
Oct 4 '10 #3
RamananKalirajan
608 512MB
This link will be helpful for you.

Thanks and Regards
Ramanan Kalirajan
Oct 5 '10 #4
rnd me
427 Expert 256MB
Expand|Select|Wrap|Line Numbers
  1. var i=new Image;
  2. i.src="cgi.php?sel=" + escape(document.getSelection());
Oct 8 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Leon | last post by:
as title.....how to do it ?..... >_< use remote call....? can don't use remote (possible)??on the same host use a single process ?? modify ip header ???
4
by: svdh2 | last post by:
Dear All, I have lately strugled more and more with Access, what started as a simple database has brought me to the fundaments of Access. I need to transfer fields from various tables to a...
4
by: Evgeny Zoldin | last post by:
Hi ALL. I would like to download file from some web-server that requires Basic-Authetication, change somthing in the file and upload it back to the server. I can download the file and proceed...
0
by: Jason | last post by:
Hi all, I am writing a vb.NET windows form application (not ASP.NET) and it can upload image file e.g. jpg to a HTTP server by POST method. I know that we have to encode the data and send to the...
10
by: Aj Blosser | last post by:
Hey guys, I have a question for you, I have a setup where I'm sending files through the POST to a php web page, I read the file contents, put that file contents as text into the POST string, and...
1
dmjpro
by: dmjpro | last post by:
i am new to apache server ...... how this is configured .... and how does it work when an web-application is deployed ...... one more thing .... seperate me application server and web server....
0
by: remya1000 | last post by:
how can i send a new file to a server using FTP in VB.NET. i need to try sending new files to server using FTP. after sending i can delete from server,rename,update the file etc. first i need...
0
by: diegososa | last post by:
Hi! I'm new here and also new in Python, and i have a simple question: I have: -a python program running on a Linux machine -a Windows XP machine with a WAMP Server, and python for Windows...
9
by: raknin | last post by:
Hi, I am using PHP on the server side and javascript on the client side. I ecounter a problem when I try to send to the server parameter with value of 350 charecter and more. I know that I can...
2
by: I7arkHiro97 | last post by:
Hi, I am a beginner to VBA. I am using MS access 2003. I found some code that works great for sending automatic emails to a list of recipients. My email addresses are housed in a table on access...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.