I'm using Wordpress 3 and jQuery 1.4.2. Firebug tells me $.parseJSON is not a function and I'm stumped as to why.
Any suggestions are appreciated.
$(document).ready(function(){
$('#subscribe_form_submit').click(function(){
function updatePage(theResponse, textStatus, XMLHttpRequest){
theResponse = $.parseJSON(theResponse)...
Hi everyone,
I am having a problem with impromptu and instances. I have two instances of impromptu, so when i call to close the first, the other closes too.
Is there any way to say to close one and no the other?
...
I'm using the jQuery.validate() plugin for a form. However the form contains a fieldset (which is hidden, and used as a template for adding rows to the form) which I don't want to be validated. The fieldset will be named something like organisation_contacts_tmpl_33 with the invariant being the _tmpl_ part. I've tried:
$('#myform').valid...
a have an asp repeater that is repeating a links on a page with different urls. I want to hide any links (using jquery) that contain the word 'text' in their href. How can i do this?
if($(".fsproductsStcokistButton:contains('text')"))
{
$(this).css("display", "none");
}
...
<input id="test" type="text" value="text" />
alert($(':input:not([readonly])').length); // 1
$('#test').attr('readonly', 'readonly');
alert($(':input:not([readonly])').length); // 1
$('#test').removeAttr('readonly');
alert($(':inp...
I have a form which at some point in its life has three choices. Depending on which item is checked more form elements will drop down. At the moment these are just hidden and will show/hide on click. However when validating these are still in the DOM. I didn't want to have to remove them and add them again each time, is there a simpler w...
Hello all
i have problem in admin site in WordPress. Looks on not working jQuery there.
i use hosting from freehosting.com maybe this is a main problem.
Here is full resolution screend: link text
...
Hey,
Please have a look at http://live.heritageartpapers.co.uk/catalogue.aspx and advise me on the following:
Currently customers are getting confused (judging by the one who clicking the same link 20 odd times yesterday) because each level of product is pretty much the same. I would like to differentiate each level of product. However...
When someone selects an item in a dropdown, I want to reload the current page with the value of the ID in the selected item in the querystring like:
http://www.example.com/mypage?id=234
How can I do this?
...
Once you’ve taken the leap to start using the jQuery library (or
another JS library of your choice) for many “simple” tasks you are faced with the dilemma of 3 development approaches:
use the CSS3
use a mixture of CSS3 and jQuery i.e. add a class defined in CSS using jQuery
use a jQuery plugin where available – which usually intellig...
how do i make data overwrite results variable ?
var ajax = {
get : {
venues : function(search){
var results = "@";
$.getJSON("http://x.com/some.php?term="+search+"&callback=?",function(data){ results = data; });
return results;
}
}
};
...
Hi.
Seem to be having some issues with executing jQuery code in the "caption" class.
My class ".showmore" lies within the caption section, however when I perform a hover function, it does not seem to execute this jQuery function.
Is there anything within the Galleriffic jQuery that is preventing me from executing this???
<html>
<...
Hi,
This question is an extension of this one:
http://stackoverflow.com/questions/3675007/jquery-datepicker-date-range-throwing-invalid-date-range-error-with-valid-dates
The latest jsFiddle is located here:
http://jsfiddle.net/mQRaj/7/
The issue i am having is as follows. I have two datepickers that are going to be localised into m...
I use successfully the following code to load asynchronously some content into a web page:
jQuery.noConflict();
jQuery("#boxasync").load("box.php", "",
function(responseText, textStatus, XMLHttpRequest) {
if(textStatus == 'error') {
jQuery('#boxasync').html('There was an error mak...
Hi There,
besides jQuery, jQuery UI and jQuery Mobile - What are you choices for beautiful programmed jQuery Plugins. I'm currently developing my first plugin and try to learn from the best :-)
Thanks a lot
...
I have a simple form with 2 pull-down menus. What I can't figure out how to do is have a simple HTML link that will copy the selection from the first select menu to the second. The one caveat is that we don't set 'id' on our form input fields so I need the JQuery object selection to be done using the 'name' field instead. Here is the HTM...
Hi,
I have 4 list items in my HTML and there is image and a text in the Item.
What I am trying to do is when someone clicks on the list item, I want to pull the text out of it and use it to form an image url and assign it to an element's background.
But this simple stuff is not working and firefox is throwing a warning without changing ...
Hi guys,
Well here is my code to do it.
But as you can see, its ugly.
Anyone got any better ideas?
.delegate(".ui-icon-plus", "click", function() {
var d = $(this).parent().data("val");
var values = $(obj).val();
values.push(d);
$(obj).val(values);
$(this)
.removeClass('ui-icon-plus')
.addClass('ui-icon-minus')
...
I am having a little bit trouble with the following. I have multiple form fields starting with "vendorName-" ending with a number. I would like to add a rule to the validate for these fields but I am not sure how to.
Here is what I have so far:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1...
Hello,
Inside a jquery dialog I would like to use the jquery autocomplete feature of jqueryUI.
I have then prepared an action in my Controller (I am using ASP.NET MVC2) that is as follow
public ActionResult GetForos(string startsWith, int pageSize)
{
// get records from underlying store
int totalCount = 0;
string whereClau...