473,385 Members | 1,907 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,385 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 1353
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Aaron_TekRecycle.com | last post by:
Someone must have done this before?!? I have VBS code that will Enumerate all the Printers in the AD and Add the Printer Connection to the client... I'm just not a web developer so I need some...
5
by: Vince C. | last post by:
Hi. I'd like to trap ADO Recordset object events in my ASP script (either VBS or JS, no preference). I've tried (in VBS) writing a Sub rs_RecordChangeComplete( adReason, cRecords, pError,...
60
by: Fotios | last post by:
Hi guys, I have put together a flexible client-side user agent detector (written in js). I thought that some of you may find it useful. Code is here: http://fotios.cc/software/ua_detect.htm ...
7
by: MALdito | last post by:
hi everybody let me say right from the start .. I´m not a coder ... "just" a designer! that said .. here is my question: I´m using dreamweaver´s built in preloader for a menu. it looks like...
2
by: Albert Spencil | last post by:
I have tried several preload scripts found here; plus, some of my own. The only thing that works is the unsophisticated loading of those tiny images. The download consist of 100+ images amounting...
3
by: Matthew Crouch | last post by:
okay, i've got a server-side (php) script creating a bunch of JS image vars in a loop .. {{foreach from=$button_names_array key=key item=button_name}} var {{$button_name}}_up = new...
8
by: Kathy Burke | last post by:
Hi. Yet another question. We're running a new asp.net app off a production network server. The PC is a PentiumII/III with 128MB of RAM. When running the app, the memory uses read at about...
1
by: Jonathan | last post by:
Hi everyone, I am new to asp.net and here is my problem. I create a UserControl included in my main file (index.aspx). Depending on witch parameter i have pass, i "execute" a UserControl part with...
7
by: phal | last post by:
Hi I think there are many different browsers to browse to the Internet, how can I write the javascript to identify different browser and display according to the users. Some browser disable the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.