contentDocument.documentURI alternative to IE6 and IE7?
Hi, I need to grab the URI of an iframe after "load" event. I have used contentDocument.documentURI so far, but it does not work in IE6 and IE7. What are the alternatives? ...
Hi, I need to grab the URI of an iframe after "load" event. I have used contentDocument.documentURI so far, but it does not work in IE6 and IE7. What are the alternatives? ...
Hi, i use the following code to send an ajax-request every 3 seconds: var refreshId = setInterval(function() { $.ajax({ async: true, url: 'gohere', dataType: 'text', cache: false, timeout: 5000, success: function(result, textStatus, XMLHttpRequest) { alert('textStatus: ' ...
Hi guys, I'm using a weather feed to show weather on a page. I want to cycle through 2 or more weather locations at, say, 5 second intervals. I thought I could adapt something like this http://stackoverflow.com/questions/84163/how-can-i-cycle-through-pages but haven't had any luck. The source code is as follows for 3 feeds that I woul...
Hi, Just put our new site live, and having trouble with one of the swf files playing. Using the colorbox jquery plugin throughout the site and this works fine. However a movie on http://www.learningassistant.com/qcf (qcf engine movie) gives out a repeated javascript 'Access is denied' error everytime you close the colorbox?? Perhaps...
I have an implementation for my website to have facebook single sign on, using their javascript sdk. The javascript adds the cookie and I deal with it fine. The question is related to when an user logs out of facebook, I would expect the auth.sessionChange or auth.logout events to fire, but that only occurs when the page is refreshed. ...
Im trying to build a list of id's in a textbox. Which works fine in IE and Firefox but not in chrome. The list that is created is using String.fromCharCode(20) to separate the values. (im using this as the values could be any character so I need to use non writable characters like this and 17) What happens in Chrome is it seems to remo...
I want to write a line like i do in c# namespace abc.def.ghi{ get1(); get2(); get3(); get4(); } to reduce my text in so many line like abc.def.ghi.get1(); abc.def.ghi.get2(); abc.def.ghi.get3(); abc.def.ghi.get4(); Is it possible in javascript? ...
hi everyone, is there a way to automatically add the tab of an application to the users profile page, after he installed the application? thanks in advance ...
How to call javascript in main window from iframe? ...
I am sending a tuple as my variable to javascript. But i could not find a way. I am using bottle framework. ...
I'm new to HTML5 application. And I'm making in-house software. This means I can force users to use only most recent version of firefox/webkit. I saw many documents concerning about JS memory leaks in these point: Circular references. Event handlers. Closures. As I think, it's just a problem of only (old version of) IE. But I cannot...
best in jQuery. thanks. ...
Hi, I've been developing a publications application that has a drop down menu where you choose one of the publications types the form then changes(using jquery) to show and hide fields that are required. For example: Every Publication: Title Conference: Start Date End Date Journal: Volume Number What i am wondering is ...
After google around, I have to ask this question on StackOverflow. There are frameworks around, but most of them are from 2008 2009, unmaintained, multipage or will not work with GWT 2.0 What are the recommended framework should I use for a single page application that will scale most in term of deploy? 1 language is a plus point becau...
For my project(a web and iPhone based application) i need to collect a user's timezone so as to show him/her the relevant data.Some of the possibilities that I can think of are : 1.Getting it using user's IP (But what if the user is behind a proxy server) 2.Sending it with request params(But that will require extra param to be attached ...
TinyMCE has a hyperlink plug-in that allows you to select a piece of text, and wrap an <a> around it. But it's a bit too obtrusive- it opens up a big new popup window, with many options for the user to pay attention, wait, think and configure. Is there a simpler alternative to it? Something that does a basic job of inserting an anchor ...
I am using a image blow up simply with an overlay image and the main image. the blow up gets open when we click the small image and then if we click the opnend up blowed up image then it gets closed. Now i want that it should get closed on ecs key press. how can i do that??? sample of my code is :- function Blowups(arrs,flag,nums,img_...
Hello, Is there a way to wait for hide function in a loop? I mean if I have this structure in html: <div class='example'> <span> One </span> <span> Two </span> <span> Three </span> <div> And in js I want to do something like this: $('.example span').each(function(i, span) { $(span).hide('slow'); }); I believe js is...
As I think, JS array is just a hash-map which accepts only integral value as a key. And the .length property just return largest index + 1. Is this right? Is there any other differences? ...
I have a signup form with AJAX so that I want to refresh Recaptcha image anytime an error is occured (i.e. username already in use). I am looking for a code compatible with ReCaptcha to reload it using JavaScript. ...