Search:
Type: Posts; User: A1ien51
Search :
Search took 0.10 seconds.
Google JavaScript image preloader.
Eric
Listen to the keypress on the window.
http://www.javascriptkit.com/javatutors/javascriptkey2.shtml
Eric
What version of IE here? There are 4 versions now being used.
Are you setting proper content length headers?
Eric
http://en.wikipedia.org/wiki/Anonymous_function
Eric
Have you used a tool such as fiddler to see what is being returned and sent?
Eric
Is that a file input? You can not submit files with an Ajax call.
Eric
onclick="delcat(this.form)"
and
function delcat(frm){
var req = createInstance();
var cat_id = frm.delcatid.value;
Eric
"old sez my cousin"
I would learn how to speak English and I would not listen to your cousin.
1) What HTML codes?
2) No you can not change the appearance of alerts and confirms.
Eric
var cat_id = document.delcatform.delcatid.value;
alert(cat_id);
what does that say?
Eric
Man, all of your questions sounds like homework...
last solution is wrong. The += does not belong
You really are over thinking it
alert(foo + bar);
document.write("'");
guessing there is more to the story than just that. What is your real issue.
Eric
That code is being injected into the js file. It is after your functions. It causes the JavaScript not to render since it is invalid. Look at your JavaScript error console and you will see the error....
Your free host is adding html into your javascript file
<font face="Verdana, Arial, Helvetica, sans-serif" size=3>
<p align="center">
<b><a href=http://www.7host.com>7HOST.COM</a>:</b> ...
Nice article on it: http://clagnut.com/blog/348/
Something like this:
<script type='text/javascript'>
var hasConnectionBeenLost = false;
(function ( img, wait, notify )
{
var iObj = new Image();
location.reload( true );
The true says do not use the cache version, fetch it from the server. If the internet is down, than how will it get that file?
Eric
Why the full page refresh?
Just ping the server with a timer until the connection is restored. Than continue with your code.
Eric
No way with html/javascript
Eric
You are making an asynchronous call, but you are acting like it is sychronous.
You need to do any action with the file after you recieve it. So you need to move the logic into the...
getElementsByClassName is not supported in all browsers.
Eric
window.opener.location.reload( true );