jquery

PHP json_decode not supported, any alternatives?

Hi guys, as the title specifies, my hosting provider does not have support for json_decode, so I need to find a way to adapt my code to achieve the same effect, but without using JSON, here is my code, jQuery: var allLocations = []; $(".locations").each( function(i, location) { // for each location block loca...

I have used jquery TreeView component in which getting problem to select node in IE8.........

I have used jquery TreeView component in which getting problem to select node in IE8. Please give me solution how to select node in IE8.. ...

how to drop the objects only in the image not in the whole div containing the image.

I Have a background image in right.NOw i need to drop the draggble object only in the image not in the div containing the image using jquery. Also the droppable object should lie completely in droppable object while dropping. Any help is highly appreciated ...

Jquery toggle not working

hi there. i am trying to get jquery to hide this div and for some reason it is not working what am i doing wrong http://stat-me.com/jq.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv=...

Jquery Validate name="name[]" not working

Hi, I'm using the Validation plugin from bassistance.de I want to validate the folowing: <form class="cmxform" id="form1" action="ufm/mailit.php" method="post"> <fieldset> <input type="checkbox" value="namea" name="name[]" id="namea" /> <label for="namea">Name a</label> <input type="checkbox" value="nameb" name="name[]" id="nameb" /> <...

jQuery's AJAX call to a javascript class method

Hi there, I'm a newbee about jQuery's workflow and I would like to setup a javascript class that uses an internal method to make an AJAX request. When the request returns with success, the jQuery AJAX callback should invoke a method owned by the class itself. That's the code: function IXClock() { this.m_intervalID = 0; this.sta...

Help needed with submenu functionality, Timeout

Hi All, I'm working on this menu for a intranet system. I have a menu system which is partially working. I have added the code to here: http://jsbin.com/eloxe3/8 The menu items with a light grey background have a submenu...whereas the others do not. I need some help in making the submenu disappear after I hover over a link without a s...

google cse load after page complete loaded

Hello, I have a question, how to make google cse to load after page have completely loaded. i have seen this on http://www.9lessons.info/ on top right. Thank you for your guidance. ...

How can we run a function when I clicked on Radio button in jQuery

I have three radio buttons and when I click on one radio button I want to have some functionality using jQuery. ...

jquery's ajax function does not working in android

Hi folks, I want to access open api through ajax in mobile application, its work fine in iphone but does not working in android phone-gap app, returning error->"error message-null,typeerror-Result of expression 'data'[null] is not an object and error status-parsererror" ,is there any browser setting,thanks in adavance. $.ajax({ ...

get key value press

hi all I Want get key value on keyPress with jQuery In textbox ...

Speedometer in Jquery

Hello, I need to show a speedometer on a page, whose status will be based on the value passed to it. I came across JQuery Speedometer plugin at http://plugins.jquery.com/project/speedometer, but i couldnt find the download link for the same. Please help Thank You. ...

bind function when command s is pressed (OSX)

Hi I found a couple of keypress scripts but I need a key binding in Chrome and Safari for command key and s (like saving files in desktop applications). Does anybody know about such a script or plugin? jquery is in place but pure JavaScript solutions are also welcome! thanks ...

jquery repetitive element creation

Which of the following is better? 1) Create the element on each loop $(obj).children('option').each(function(){ var item = $('<div />') .html($(this).text()) .append(plus) .addClass('ui-widget-content ui-state-default') .hover( function(){$(this).addClass('ui-state-hover')}, function(){$(this).removeClass(...

jQuery "not readonly" selector

I'm looking for something along the lines of... $(':input:not(readonly)') // all inputs which are not readonly but struggling to find the syntax. Any pointers? thanks ...

Regular expression for checking the range of numeric values

I want to have a range between 0 to 65536 , what would be the regular expression for that? ...

How to add a click event to p elements in iframe (using jQuery)

How to add a click event to <p> elements in iframe (using jQuery) <iframe frameborder="0" id="oframe" src="iframe.html" width="100%" name="oframe"> ...

PHP script printing unnecessary new lines

Hi. I'm actually working on a booking system in PHP and I created a script that searches a MySql database checking if a X day is occupied (or not) storing un-occupied dates in an array. After that, I return the array to a function that prints all dates, passing those dates to a jQuery Datepicker array variable, so Datepicker knows which ...

jquery tabs problem newbie

Hi I got 3 web machines, and on admin page, on each of that machines, i want to have informations from all of them, showed in 3 same sections like: http://jqueryfordesigners.com/demo/tabs.html (3 times same, but from other machines). How to modify that script, to show info from other machines ? $(function () { var tabCon...

How do I write .level+1 as a selector in JQuery or JavaScript?

Hi All, A quick question. I have a series of DIVs with the following classes .level1 .level2 .level3 This is what I want to happen...When I hover over .level1 I would like the selector to select .level2. In other words .level+1 whatever I hover over. How do I write this in JavaScript or JQuery ...The X in the code is where I need this...