How to make scroller in jQuery?
Hi, I want to make scroller like given here: http://www.shopping.com/xPC-Kettler-Kettler-Vito-Xl~linkin_id-8051267 in jQuery. Its in dojo I think. Please give me link of scroller like this one. Thanks ...
Hi, I want to make scroller like given here: http://www.shopping.com/xPC-Kettler-Kettler-Vito-Xl~linkin_id-8051267 in jQuery. Its in dojo I think. Please give me link of scroller like this one. Thanks ...
Hi all, Does anybody know how to add an event in the head of the queue for concrete event type? I.e. I have already defined onclick event. A want to add additional call back function, that will be invoked BEFORE already defined callback. Thanks in advance ...
I want to concatenate javascript files together and serve them as one from my site - so thats my code and jquery plugins or other 3rd party scripts. (I'm using google CDN for hosting of jQuery). I was wondering i this is always guaranteed to be a safe thing to do. I'm not an expert in Javascript as far as things like namespacing goes an...
I'm new to Dojo, so I need a little help. Some of my links takes a while (when the user clicks, it takes several seconds before the page starts loading), and I'd like to add a "loading"-message. I can do it the "old fashion way", but I want to learn the new, easier, smarter Dojo-way. Exactly how it works is not important right now, bu...
I have a page with a dynamicly created javascript (the script is pretty static really, but the value of its variables are filled based on user input). The result and the controls to take user input is inside an UpdatePanel which updates itself on certain user intputs. Some of these userinputs cause changes in the variables i spoke of ea...
How can I validate some inputs that are not inside a form tag? All the samples I found have a form tag, but I want to validate some inputs that are not inside a form. thanks! ...
Hi, I am firing an Ajax request using jQuery. During the process, I show a loading text to the user till it reaches the success/errorhandler function. Is there a way to abort the request in middle of it. So that it doesn't goes to the success/errorHandler variable. One way I can think of is using a global variable. Is there a better meth...
Below javascript has different effect in different browsers. document.write(this.location.constructor); document.write("<br/>"); document.write(this.constructor); document.write("<br/>"); In Chrome, the page has function Location() { [native code] } function DOMWindow() { [native code] } In Firefox, the page has [object Location]...
I have a msg like Max {0} chars allowed in {1} I have a function to create a message using the arguments passed as for(var i = 0; i < agrs.length; i++){ reg = new RegExp('\{'+i+'\}', 'gi'); key = key.replace(reg,agrs[i]) } The problem is that its not able to take the param "i" to create the reg exp. Whats the way to achiev...
I have a page with Google Adsense ads. Content is to the left and ads are to the right. When the page is downloading it retrieves the content first and then start with the Google Adsense ads. During that time the rest of the page (footer images) is not fetched until the whole ad is completely downloaded. How can I make all of my page (...
I'm trying to create a bookmarklet that will start off an AJAX call to an aspx page I've written. The code tests out perfectly when I place the javascript in a static html page, but when I try and call it off from a bookmarklet, the code will just hang at the xmlHttp.open("GET", url, true) part. The code of the bookmarklet is basicall...
Hi guys. I have a flex object embedded in a velocity page. Above the flex object i have my navigation bar which has a number of drop down components built with Javascript. When i click on the drop down list they appear to be falling behind the Flex object. Its like as if the Flex object is ontop of the layer the Javscript is on. Has...
I'm in a curious situation where I previously had no problem achieving what I'm looking for. The following code is a part of an HTML page which is to host a TinyMCE rich textbox: ... <textarea id="editing_field">This text is supposed to appear in the rich textbox</textarea> ... At first this worked as intended, creating a rich textbox...
Hi All, I have a series of checkboxes on an HTML page and I would like to check the checkboxes based on corresponding HTML query string params. e.g. ...path/page.html?i=1&j=1&x=0 would cause a page with three checkboxes to check 1 and 2 on load. Can someone show me how to do this or point me in the direction of a suitable tutorial?...
I've had a good look and can't seem to find how to select all elements matching certain classes in one jQuery selector statement such as this: $('.myClass', '.myOtherClass').removeClass('theclass'); Any ideas on how to achieve this? The only other option is to do $('.myClass').removeClass('theclass'); $('.myOtherClass').removeClass(...
Hi, I would like to have some points defined in the map and would like to join the 2 points by clicking on them. Basically, the functionality is to identify the locations in the map and connect them by a single line. For some reason, I am not able to use google map API and would like to achieve this using JavaScript. Thanks in advance...
I'm debugging someone else's code for a web page that is made with ASP.NET with some javascript effects. It's a form that we are pre-populating with edit-able data, and one of the text boxes is getting populated with an incorrect value. I know that the text box is getting filled with the correct value in the code behind, but somewhere ...
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on the user's browser? I know I can use <noscript>this displays in place of javascript</noscript> That works fine, but it still runs the javascript. In theory I would want this: if javascript is enabled run javascript if javascript is not enabled don't r...
I have weird error, but that only appears to be happening in IE6, and it happens randomly. I’m implementing omniture analytics on my company’s site. I made a literal server control and called it from inside an update panel. All the control does is build the java script and uses ScriptManager.RegisterStartupScript(Control, Type, String, S...
I am building a web app targeting the iPhone. It is similar to a To Do list. I need the application to be able to work offline, i.e., it should allow the user to add/edit/delete entries when there is no connection to the server, which will later get synced when the server is online again. How do you recommend I store this data (remember...