473,657 Members | 2,451 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to execute returned JS scripts from a url

Mel
My server makes a url call that returns a whole bunch of javascripts.
I will then have to execute them on the server. I stripped out
everything between <bodyand </bodyand I can see the scripts.

How can I do this ?

thanks for help

May 10 '07 #1
3 2431
Mel said the following on 5/10/2007 12:41 PM:
My server makes a url call that returns a whole bunch of javascripts.
I will then have to execute them on the server.
Then you will need to ask in a group that deals with whatever server
software and/or language you have on the server. It has nothing to do
with clientside scripting.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
May 10 '07 #2
Mel
On May 10, 9:52 am, Randy Webb <HikksNotAtH... @aol.comwrote:
Mel said the following on 5/10/2007 12:41 PM:
My server makes a url call that returns a whole bunch of javascripts.
I will then have to execute them on the server.

Then you will need to ask in a group that deals with whatever server
software and/or language you have on the server. It has nothing to do
with clientside scripting.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptT oolbox.com/bestpractices/
Please..... It has everything to do with the server side or client
side Javascripting. Even if it was on the client side and one
javascript returned some javascripts as return value; the question is
can the returned script (which is some strings) be executed from
inside the caller (also javascript)
May 10 '07 #3
Mel said the following on 5/10/2007 12:59 PM:
On May 10, 9:52 am, Randy Webb <HikksNotAtH... @aol.comwrote:
>Mel said the following on 5/10/2007 12:41 PM:
>>My server makes a url call that returns a whole bunch of javascripts.
I will then have to execute them on the server.
Then you will need to ask in a group that deals with whatever server
software and/or language you have on the server. It has nothing to do
with clientside scripting.
<Signature snipped that was quoted by the broken useless Google Groups>
Please..... It has everything to do with the server side or client
side Javascripting.
What you said, in the original post, was "I will then have to execute
them on the server". I didn't say it didn't have anything to do with
server side, I said it had nothing to do with client side scripting.
Server requests a file, server gets the file, you want the server to
execute JS in that file. What does that have to do with client side
scripting?

Client side, you eval the return string of code.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
May 10 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
9701
by: Marek Kotowski | last post by:
I am looking for a tool to execute PHP scripts entered in a HTML form. For example: user is given a problem to solve. He writes a PHP script, sends it to a server, where it is executed and results are send back to the user. Are such tools available at all? Thanks in advance. Marek Kotowski
2
1355
by: Saps | last post by:
Hi all. Can anyone help me here. I have loads of .sql files and i need a way to call these from my asp page so the user can run them from the browser. Meaning i have a page with a list of all scripts. each when clicked i am able to run the script. so HOW and what do i do to call and run the .sql Thanks
0
2410
by: accuracy | last post by:
I have one sql file i.e. test.sql that contains many sql statements and I wanted to execute it from a c++ program. Is it possible or I have to execute individual statements. I want like this: SQLExecute(Sql script file path)
3
4932
by: joe jacob | last post by:
I configured apache to execute python scripts using mod_python handler. I followed below mentioned steps to configure apache. 1. In http.conf I added <Directory "D:/softwares/Apache2.2/htdocs"> AddHandler mod_python .py PythonHandler mptest PythonDebug On </Directory>
2
37634
by: raghutumma | last post by:
Hi, How can we execute SQL Scripts using Batch file??? i think Batch file should contain Username,Password,Database and Scripts... Using that file scripts should run... How can i give UserName,Password,Database and all those things?
5
1301
by: myshona | last post by:
Hi All, I wanted to know which is the best server to execute php script?.I mean what are the advantages and disadvantages of using different web servers like IIS,Apache. Regards, Raj
0
8305
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8603
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7320
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6163
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1944
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.