471,578 Members | 1,299 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

User preload to execute a script on the sever side


Hi,

I would like to use the preload feature to transmit data from the
client to the server. I use the SRC attribute of the image to compose
the URL and transmit the info. How can i do this?
Any sample code ?

Aug 30 '06 #1
3 1293
misdst23 said the following on 8/30/2006 4:42 PM:
Hi,

I would like to use the preload feature to transmit data from the
client to the server.
"preload feature"?
I use the SRC attribute of the image to compose
the URL and transmit the info.
OK.
How can i do this?
Now you confused me. You say you use the SRC Attribute to do it, then
ask how to do it?
Any sample code ?
What exactly are you trying to do?

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Aug 31 '06 #2

I am trying to get javascript to transmit a string to the server using
the image preload technique. But I need some sample code showing how
this is done. I do know that I have to set the SRC attribute to the URL
that recieves the request and pass the string as a parameter. But I
don't know what to do on the server .
Randy Webb wrote:
misdst23 said the following on 8/30/2006 4:42 PM:
Hi,

I would like to use the preload feature to transmit data from the
client to the server.

"preload feature"?
I use the SRC attribute of the image to compose
the URL and transmit the info.

OK.
How can i do this?

Now you confused me. You say you use the SRC Attribute to do it, then
ask how to do it?
Any sample code ?

What exactly are you trying to do?

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Aug 31 '06 #3
misdst23 said the following on 8/31/2006 9:35 AM:
I am trying to get javascript to transmit a string to the server using
the image preload technique.
Yes, and you said you were already doing that. Was that incorrect?
But I need some sample code showing how this is done.
Ahh, the joys of not reading the FAQ. This very topic is covered.

<URL: http://jibbering.com/faq/#FAQ4_34>

Also, read the pertinent sections that deal with top-posting in this group.
I do know that I have to set the SRC attribute to the URL
that recieves the request and pass the string as a parameter. But I
don't know what to do on the server .
You are asking in a client-side scripting group how to process data on
the server?

What server side language do you have available? Then, find a group that
is dedicated to that language.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Aug 31 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Aaron_TekRecycle.com | last post: by
60 posts views Thread by Fotios | last post: by
7 posts views Thread by MALdito | last post: by
2 posts views Thread by Albert Spencil | last post: by
3 posts views Thread by Matthew Crouch | last post: by
1 post views Thread by Jonathan | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by Vinnie | last post: by

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.