473,395 Members | 1,623 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,395 software developers and data experts.

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 2417
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.javascript 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.javascript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptToolbox.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.javascript 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
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...
2
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...
0
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: ...
3
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...
2
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...
5
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,...
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: 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
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
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.