Does onHashChange work in Safari?
Does onHashChange or hashChange work in Safari? I tested it with Safari 4.0.4 on Windows 7 and it doesn't work for me. If it doesn't work, is there any solution to track if the hash has changed? ...
Does onHashChange or hashChange work in Safari? I tested it with Safari 4.0.4 on Windows 7 and it doesn't work for me. If it doesn't work, is there any solution to track if the hash has changed? ...
I'm using the plugin jquery-tmpl. Is there a way to specify a callback after a template is run? I want to do something like <script id='itemTemplate' type='text/html'> <li class="item" id=${timestampMs}> <span class="content">${content}</span> </li> ${processItem($('#' + timestampMs))} </script> Where processItem does somet...
Hi, We are looking for a way to collect usage stats of our users web browser/OS configuration in regards to accessibility to better understand the range of users we have. If I can find a way to collect this data via javascript then I can capture it in via our analytics tool (same as google analytics variables). These are some of the th...
Hi, Got an issue that is specific to Chrome; it's moving the focus from my html inputs to the first user element in a dynamically rendered form. Example: HTML_SELECT_00 HTML_SELECT_01 INPUT_TEXT_00 Problem: If you place the cursor in INPUT_TEXT_00 (using the mouse), as soon as you let go of the mouse button, the focus will shift back ...
This seems really dumb. I've tried a bunch of different ways and it's just not working. I have a WinForms app with a WebBrowser control. If I try with a raw html file on my desktop using the same src string, the src I put together works fine. But plugging the same stuff into the WebBrowser control won't work. Here's my code: HtmlElemen...
Hello, Is it possible to auto submit a select menu when the selection changes without using a button to submit the form. I have four of these on my page and using a button for each uses up too much space. By Select Menu, I mean: <select name="something" class="something" title="something something"> <option selected="selected">Option ...
I would like to be able to add an option to my currently dragged element mid-drag. My initial options are: curDomObj.draggable({ axis: "x", drag: curDomObj.trigger("drag") }); And then I'd like to be able to add another option that will automatically update that dragged object without "dropping" it. Specifically, I'd like to a...
<div align="center"> <span class="style19"> <script type="text/javascript" src="http://ebayfeedback.easystorehosting.com/esh/ebayfeedback/feedback.php?eBayId=Mizauctions"></script> </span></div> I am trying to style this string of javascript so that the text it generates is about 10px. It works exactly how ...
I change the bookmark in the url when the page is loaded. That way, when the user clicks the back button of the browser, the browser will not actually go back, but will instead change the bookmark. I can then detect the bookmark change and do something else as a reaction to the user pressing the back button. My problem is to find the cu...
I have a page that's very image-intensive. This is by client request - it's a list of merchants with a logo for each one. The list is quite long (over 500), and yes - the client insists on displaying all of them. We do have an ajax typeahead search to help users find what they're looking for without scrolling, so it's not a total disaste...
I have two textboxes Num1 and Num2 and another textbox Sum having the value 10. How can I do this wherein if the user will enter a number for Num1, it will add it to Sum and dynamically change the displayed number in the Sum textbox. If the user will enter a number in Num2 it will also add that number to the updated number shown in Sum ...
I have tried: ... <script type="text/javascript"> var myVar = "some string"; </script> ... <input name="&{myVar};" ... /> ... But using FireFox the name is set to the literal string: "&{myVar};" instead of the value of myVar... UDPATE: I see this called JavaScript Entities and hasnt been supported for a long time - but there must b...
I ran tests in Firefox 3.6.11, if that matters, and eval misbehaves in the context of call and apply. It somehow jumps over the current 'this' object. Why? dojo.provide("yal-js.tests.javascript"); function evaltest () { var dis=this; // it works now... returns 2 on call and apply return eval("(function() {return this.testVa...
I am using a giant sprite for an element that changes different states at hover. I was wondering if there was a way to have the hover state image fade in? You can view my code live - here Here's my code for the hover state for each span $(".hf-1").hover( function () { $(this).css("background-position","0 -121px...
I have a master page that has two content sections like this (left some parts out): <head runat="server"> <link href="/Content/Site.css" rel="stylesheet" type="text/css" /> <asp:ContentPlaceHolder runat="server" ID="HeadContent" /> </head> <body> <div id="content"> <div id="main"> <asp:ContentPlaceHolder...
Hi, I run a site with a large number of news articles. I'm looking for a 3rd party tool(or widget) that, when placed on an article page, would generate a list of related articles within the same site. So my requirements are: Returns a list of links to related articles Has to be integrated front-end (javascript,ajax,etc) Has to sustai...
I know of ways to minify JS and CSS files but is there a way to auto-minify these files in the production system? For instance, I modify something inside the original JS files and update the production environment. However, while using the JS files, it should use an auto-minified version of the JS file (preferably update the current mini...
I have a page with a div and the elements within the div get updated from the server side periodically. For example, I have a progress bar in it. Currently, I'm doing jQuery.load using setInterval to periodically refresh the div on the page (every 3 seconds). I was wondering if I could achieve this using an event-based method rather t...
I have an idea for a chrome extension where I take a protocol, just for example, helloworld:// and in the url bar you could do helloworld://check this out and i could have the plugin alert "check this out" or do some other complex AJAX stuff? Is this possible? ...
i have a following url http://example.aspx#gbar where #gbar is a Anchor. if this anchor is available i have to do to hide some div and show some div . How will i check if the url has this anchor ,because it is not a query string we cna't use request.querystring.get() .Any ideas ?? ...