473,545 Members | 2,697 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

stop execution of code

I have a script tag in which I has set src for that script tag.
But some time it takes time to load .
So I need to stop this if it takes time.
Please help me.
<script language='JavaS cript'
src='http://iqcreate.trigon enginedev.com/parsers/templateParser? tid=1832'></script>

The above code generate a javascript code.
and based on that code the below code gives output.

<script language='JavaS cript'
src='http://iqcreate.trigon enginedev.com/parsers/templateParser? tid=1189'></script>

But some time first line of code takes time.
so I want to stop that code and call a function which will set the
values for default.

How can I do that.

Mar 15 '06 #1
1 4520
um**********@gm ail.com wrote:
I have a script tag in which I has set src for that script tag.
You are talking about a `script' _element_ which has its `src' attribute
set.
But some time it takes time to load .
So I need to stop this if it takes time.
Impossible.
[...]
<script language='JavaS cript' src='http://iqcreate.trigon enginedev.com/parsers/templateParser? tid=1832'></script>


The `language' attribute is deprecated, the `type' attribute is required:

<script type="text/javascript"
src='http://iqcreate.trigon enginedev.com/parsers/templateParser? tid=1832'></script>

See <URL:http://validator.w3.or g/>
PointedEars
Mar 17 '06 #2

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

Similar topics

6
3535
by: JT | last post by:
is it possible to somehow "jump out of" an ASP page that is executed from another page via the Server.Execute method? on the page being executed i have several instances where i need to stop the execution and immediately shoot back to the calling page without running through the rest of the code on the executed page. im not sure if this...
2
2712
by: Tom | last post by:
A Java applet has two methods stop() and destroy() that get called when the user moves to a different page. Does javascript have anything similar? thanks tom
2
2831
by: Prasad | last post by:
Hi, I am writing a service which takes a long time to stop after the OnStop call is given by the Services Snap-in. The problem is I cannot cut down on the time that it takes to Stop. The Service snap-in gives me the error saying that the service did not respond to the Stop call in a timely fashion. So is there any method by which I can get...
2
8589
by: Gopal Krish | last post by:
Folks, My ASPX page uses a custom user control. What happens here is that when a runtime error occurs in the ASPX page, the error is caught in the error handler and then strangely, the execution continues to the custom user control code and it blows there because of the error occured initially in the ASPX page. When it blows it displays as...
9
4895
by: Rea | last post by:
Hi eb I set some 'Stop' statements and also visual breakpoints in asp code (vbscript). I am doing that in Microsoft Script debugger. Than I refresh the original page and expect execution to halt at these breakpoints but unfortunatly it does not.. I had allowed script debugging in both iis home directory and in internet explorer. Also i...
0
1374
by: Saran | last post by:
Hi, I am having a method that handles the click event of a button on the page. This method will also send an email. Sending email comes after several lines of code in the method. I was testing upper part of the method, so i kept a break point in the upper part. The code execution comes to a break in that point. I examined the values and...
4
28728
by: Ralphz | last post by:
Hi How do I stop JavaScript execution when I encounter an error? Is there something similar to PHP's exit or die function? Thanks Ralph
3
3229
by: =?Utf-8?B?UmludSBHb3BhbGFrcmlzaG5hIFBpbGxhaQ==?= | last post by:
Hi All, I have a ASP/C# application that connect to Oracle database . After issuing my SQL query if I close the browser or move into another page ( ie whle executing in the databse serevr) will the SQL execution in server continue or immediately stop.If it still continue how I can stop the execution (by disconnecting the present database...
1
14634
by: sunilkds | last post by:
In my project it has lot of code to execute,so it will take some time to get result.So i want stop in middle of execution and to come normal position. Is there any keyword in vb6 to stop execution of code. Plz write some CODE or give some lik to get result. Expecting your solution
4
27966
by: sphinney | last post by:
Hi everyone. I'm creating an application inside Access 2007. The application will retrieve data from various locations on my company's network servers. Depending on the time of day, alignment of the planets, other unfathomable mysteries sometimes my company's network is very, very slow. I would like to provide the user of my application...
0
7434
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...
1
7457
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...
0
7791
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...
0
6026
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...
0
5078
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...
0
3491
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1921
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
0
744
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.