Issues using jqGrid 3.6.4 and jQuery 1.4?
Given the wide array of features jqGrid offers, has anyone run into issues using the latest jqGrid 3.6.4 with jQuery 1.4? ...
Given the wide array of features jqGrid offers, has anyone run into issues using the latest jqGrid 3.6.4 with jQuery 1.4? ...
Hi I'm passing a unixtimestamp to a javascript IF statement, can anyone tell me how to generate a unixtimestamp one minute in the future with javascript. Anyhelp would be helpful. Thanks ...
Hi all: This is but a curious question. I cannot find any useful links from Google so it might be better to ask the gurus here. The point is: is there a way to make "annotation" in javascript source code so that all code snippets for testing purpose can be 'filtered out' when project is deployed from test field into the real environmen...
I want to create an alert box with 3 radio buttons in it. It should be like 'Replace' 'Save' 'Merge' along with OK and Cancel buttons. Any idea how to achieve this? ...
Update 2: So I never have used the debug function in firebug, but I just looked at the script section and I get this, now I will try and figure this out. Failed to load source for: http://localhost/googleMap/phpsqlajax_genxml.php Hiya, I followed this tutorial below http://code.google.com/apis/maps/articles/phpsqlajax_v3.html#ou...
I am trying to use some rails code withing a javascript and need to have that rails code be dynamically changed. Here's the line of code: $(this).replaceWith("<%= escape_javascript(render(:partial => 'shared/products')) %>"); The 'shared/products' is the part I want to change based off information passed earlier in the javascript. H...
Hello Everyone, I am currently designing a focused webcrawler. I have it tested with some websites until i encountered below anchor ("the <a href="...">): href="javascript: openDocument('DATA//PCP200803.pdf');" My html parsing routine results to javascript: openDocument('DATA//PCP200803.pdf'); Does anyone have any idea on ho...
<html> <head> <script type="text/javascript"> var curimage = "cottage_small.jpg"; var curtext = "View large image"; function changeSrc() { if (curtext == "View large image"||curimage == "cottage_small.jpg") { document.getElementById("boldStuff").innerHTML = "View small image"; curtext="View small image"; ...
Hi all, I am up to my neck in regular expressions, and I have this regular expression that works in javascript (and flash) that I just can't get working in PHP Here it is: var number = '(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)'; var oneChar = '(?:[^\\0-\\x08\\x0a-\\x1f\"\\\\]' + '|\\\\(?:[\"/\\\\...
Just to keep things interesting and close my final open question, the solution that implements the below functionality in a nicely organized manner with a decent architecture gets a good bounty. The full code is on jsfiddle, and feel free to ask any questions :) How do you usually organize complex web applications that are extremely r...
I have a jQuery colorbox opened over top of my webpage (with a <select> drop down list) and I'd like to make an AJAX call every time a new <option> is selected from the drop down. I have the following code, but it's not picking up the select event. $('#cboxLoadedContent select[name=parent]').live('select', function() { $.get("edit.ph...
I'm trying to replicate the Perl and PHP style pack and unpack functions in JavaScript. Unsigned integers were easy enough, so my pack('n') and pack('N') are ok. But my lack of a computer science background is a hurdle now and I don't know where to start with pack('d') for packing JavaScript's standard floating point. Is there a JavaSc...
// ACCORDION $('.accordion .answer').hide(); // hide all $('.accordion .question').click(function(){ $('.accordion .answer').slideUp(); // hide all open $(this).addClass('active').next().slideDown(); // show the anwser return false; }); HTML: <dl class="accordion"> <dt class="question">question</dt> <dd...
Would it be possible (and recommendable) to develop an Ajax map client like Google Maps with GWT? Would it be easier to use something like JQuery? ...
Hi, Window.open javascript function is not working in Mozilla, but working in other browsers, here is what I have write. <a href="javascript:window.open('../Terms.aspx','Terms','width=550,height=400')"> click here</a> Actually what happened in Mozilla is popup is opened but parent window is blank with [object Window] ...
Hi all, I have the following function. <script type="text/javascript"> window.onbeforeprint = expandAll; function expandAll(){ $(".fieldset:gt(0)").slideDown("fast"); } </script> For this html <table class="sectionHeader" ><tr ><td>Heading</td></tr></table> <div style="display:none;" class="fieldset">Content...
I have written a cascading drop down list using JQuery. The code that I have written works; the cascading list when changed, updates the cascaded-to list. BUT when I navigate away from the page and then press the back button on the browser, the CASCADED drop down list loses its values. Here is my code (the category list populates the p...
Suppose I have an element on my page with id "some_id". I want to call a function as soon as I encounter this element. Something like following. $("#some_id").call_a_function(function () { // do stuff }); ...
I'm just mucking around a bit with HTML5 canvas and painting. I happened to find this article by Opera that describes well how to set up a simple application. I would like to extend it so that the user may set up a vanishing point (1 point perspective) that may be used to constrain painting. To allow this I need to figure out a way to d...
I have a dropdown list. I am using onchange event of this dropdown to show some text in a textbox below. Its perfectly fine. But i want to to do something like this:--- If user click on the drop down then the whole list will be populated. right.. Now if he is trying to choose the value from the list using up/down arrow button of the key...