Is there a way to remove a script or stop it from doing anything else after a specific DIV has loaded???
im trying to solve an issue wth two conflicting scripts..
I REALLY appreciate all of your help... Thanks!![]()
Is there a way to remove a script or stop it from doing anything else after a specific DIV has loaded???
im trying to solve an issue wth two conflicting scripts..
I REALLY appreciate all of your help... Thanks!![]()
That's a vague question, and based on the info you've provided I think it's possible.
But to really answer it you'd need to link us to your page (or the scripts).
You may actually be able to use a function like stop() upon loading the other script. But I don't know.
The way to do this regardless of how the scripts work is to use a variable: continue script 1 infinitely unless the variable "stop" is set to 1. Once the div loads, set "stop" to 1. Then the other will stop.
Of course this means figuring out 1) when the div loads (it may or may not be easy), 2) stopping the initial script, though many scripts have a stop feature.. let's hope yours does.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Thank for you reply djr33...
One of the scripts is designed to change the style of the spam or DIV or Class, and the other script is designed to make sure that all of the fields from a form have been completed, but because the "style script" has changed the DIV, now the other script does not recognize when the fields have been completed and it will still give the error "All fields must be completed before submiting" even when they are completed....
Hope you understand.
I did not create the scripts and have not been able to make them work with each other. If you think that you can help me, let me know and i will send the Links to the page. (i rather send it in a PM)
Bookmarks