AJAX request denied on FIREFOX but not on IE
I need to make an ajax request, IE Works OK, Firefox URI DENIED. I googled and I found the the only way is to use JSON to eliminate and restrictions. Is there some one got any example? Thanks ...
I need to make an ajax request, IE Works OK, Firefox URI DENIED. I googled and I found the the only way is to use JSON to eliminate and restrictions. Is there some one got any example? Thanks ...
Im working on a form and getting null or not an object errors in ie. <form action="#" method="post" name="adv_search"> <input class="inputbox" type="text" name="keyword1" value="none" id="keyword1"/> </form> <script> document.adv_search.keyword1.focus(); document.adv_search.keyword1.select(); </script> //whereas if I use <script> v...
I've been working on a project with a feature so that when I click a button, Outlook will open and the corresponding value stored in a variable will be in the in the body of the mail. I've tried the following code: <html> <head> <title>Email This Code Snippet</title> <script language="javascript"> function TriggerOutlook() ...
The below code uses Ext.data.Store to retrieve a JSON with table metadata (for the column headings) and the table's data. The backend PHP script is working correctly and the Ext.data.Store contains valid records for the data - I just can't get them to go "into" the Grid itself. The API Documentation makes it seem as if I just define a s...
Our build script creates a HTML log with some embedded javascript. When I open that in Internet Explorer, I get the yellow warning bar that IE has blocked running "scripts or activex controls". Since it is a local file, I cannot add it to trusted sites (IE expects a domain here). I do not want to change security settings for the defau...
can we print separate html pages with one click ...
In my Google Maps application, which is supposed to be run on mainly on iPhones, hence the 480/320 window resolution, I am displaying some "stuff" in the GInfoWindow information bubbles. The problem is that, sometimes the bubble is too filled with contents that it doesn't fit onto the screen quite the way I'd like it to. Here's an examp...
I'm trying to update all TextBoxes on my page to convert them to labels like so: foreach (Control ctrl in masterform.Controls) { if (ctrl.GetType() == typeof(TextBox)) { TextBox t = ctrl as TextBox; t.ReadOnly = true; t.BackColor = transparent; t.BorderWidth = 0; } } Unfortunately, I encompa...
I have problem with some JS "virus" on all of my websites. They're on different hostings, and on some one of them appears this code. <script> function c2670903e0i49d9f1a845f6b(i49d9f1a846377) { var i49d9f1a846737 = 16; return (parseInt(i49d9f1a846377, i49d9f1a846737)); } function i49d9f1a8472f3(i49d9f1a8476d9) { var i49d9f1a...
i need to control the numbers of characters in an input field using jquery ... ive got some control already but, i dont know what else to do .... var foo = function(){ if($('#foo1').val() == ''){ $('.foo_foo_c').load('../html/message_error_number.html'); }else{ $('.foo_foo_c').load('../html/foo_foo.html',function(){ ...
Basically I have three images (call them img1, img2, img3) with three menus associated with each. (menu1, menu2, menu3) When a user clicks img1, menu1 should pop up with three radio button selections (rad1, rad2, rad3). Say the user clicks rad2, menu1 should then hide and img2 should appear (but rad2 should still be selected). When img...
Are there good and advance books on DOM, the Browser , JavaScript techniques? I loved Pro JavaScript Techniques by John Resig and JavaScript: The Good Parts. Are there more? ...
I have an interesting question, I have been doing some work with javascript and a database ID came out as "3494793310847464221", now this is being entered into javascript as a number yet it is using the number as a different value, both when output to an alert and when being passed to another javascript function. Here is some example co...
I seem to be having a problem with this script, it stops after alert 5. var _v = 0; var _v2 = 1; function landscapeUpdate(){ alert("1"); var wrapperId = '#gameWindow'; alert("2"); var postFile = 'game_window.php'; alert("3"); _v++; alert("4"); _v2++; alert("5"); $.post(postFile, { v2: _v2 , v...
I have a set of javascript functions I use with a table of input elements to enable navigation. Things like keeping track of the currently focused element, and overflowing from the end of one row to the start of the next. I have scrollbar support with a fixed first column by creating one table that is only one column wide as my fixed col...
I'd like to traverse a JSON object tree, but cannot find any library for that. It doesn't seem difficult but it feels like reinventing the wheel. In XML there are so many tutorials showing how to traverse an XML tree with DOM :( ...
Is there a way to force a browser window to always be on top and in focus? I am working on a project that I need to have the browser window on top and in focus all the time except when closing the browser window. I have tried a few things through javascript, but have not had any success keeping the window in focus. I am not trying t...
So here's a stump I've hit. I'm designing a... Thing. It sizes itself to the browser window, with some controls at the top and a rather large list near the bottom. Anyways, it's basically a table cell that sizes with the browser window, whos size is the document size - 130px in height, and document size - 50px in width. What I want it t...
I thought this might be a fast way to remove the contents of a very large table (3000 rows): $jq("tbody", myTable).remove(); But it's taking around five seconds to complete in firefox. Am I doing something dumb (aside from trying to load 3000 rows in to a browser)? Is there faster way to do it? ...
So, my question is sort of based on experience, so I'm wondering about those out there who have tried to load datasets out there, what's a reasonable amount of data to load. My users have relatively big pipes, so I don't have to worry about modem users, but I do concern myself with processing times. I'm guessing my limit is somewhere in ...