472,983 Members | 2,878 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,983 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 1341
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: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.