I used to be a hand coder that was happy using notepad. Then i discovered ultraedit. This app has so many useful features. Some of my favourites features is the file search and replace feature. At work we also developed our our content management system and we were actaully able to configure...
there is no real loss in changing the innerHTML of the div.
Simple and effective. I dont think there is any other way using script alone
on error goto hell
your formatting looks a little wonky. try..
<body
onLoad="top.Eml.location.href='../../_Shell/Comments.asp'; top.Help.location.href = '../../_Shell/Help.asp?which=g'">
'Personally, I'd rather use the Internet as a tool to get my work done more efficiently and get off it as quickly as possible to live in the real world.'
-Are you sure about that?
You've logged into this site more than 2000 times in the last year, thats a hell of a lot of time on the net for...
adam101, WOW!!!
That change everything. Im surprised i havent seen greater usage of this command.
I can only see its usage being malicious
on error goto hell
while you are looping instead of writing out the hidden fields in the select list (which is invalid html) why dont you just build a string with the hidden fields in then once you have written out all the options and written out the </select> tag then response.write your hidden fields string. I...
ok so netscape 6 doesnt error but it does seem to freak a little when you call window.stop as it does not load the next page immediately. If you click in the address bar and hit return it does eventually go the the required page. Not so for netcape 4 though. I suppose its a good thing that very...
febwgdk, you just found a nice little flaw i would say.
I just tested that little idea out and it worked
<html>
<body onunload="window.stop()">
</body>
</html>
open this page in Netscape 4 and try and move off the page once you have loaded it. It even works on netscape 6
you have...
in script you can change the target by calling the forms target property...
<script>
...
document.formName.target="_blank"
</script>
on error goto hell
window.stop wow, that could be a powerful command. if people came to your site you could keep them there
by trapping the onunload event and then calling window.stop.
I dont think IE has anything like this
on error goto hell
at the bottom of each of these scripts is the onclick handler, just remove them both.
then if you want simply add another script block with the onclick handler and the function in it eg...
<script language="JavaScript">
<!--
//By George Chiang (www.javascriptkit.com) JavaScript site...
i think the limit is between 32 - 64kb which is a hell of a lot. Mind you this is for a form post.
Any more than 32k and you may start having problems with submission. These limits are imposed by the browser.
on error goto hell
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.