The problem is that data is successfully transfered to the server, but the callback function is never executed in both versions:
$.post(action, formData, function (data) { alert('121'); });
or
$.ajax({
type: "POST",
url: action,
data: formData,
dataType: "html",
success: functi...
Hi,
I'm trying to combine the "filterable portfolio" (http://net.tutsplus.com/tutorials/javascript-ajax/creating-a-filterable-portfolio-with-jquery/) with the Masonry layout ... so I want my items to readjust with masonery after I filtered them, but they stay in the position where masonery put them...
here's my very rough first website...
I have a simple ajax call that works correctly on EVERY other platform except IE.
It work on my mac, Ubuntu, Windows Chrome, Windows Firefox, but NOT IE
var params = "action=tsll_field_request&tsll_action=login&email=foo";
$.ajax( {
type: "POST",
url: ajaxurl,
data: params,
dataType: "json",
error:function(xhr, statu...
I don't know how strong the support of RadControls over here is, but it can't be worse than Telerik(there I'm lucky to get a response in 2-3 days), so I'm going to try here first.
Basically, I'm trying to do custom theming(using just CSS classes) throughout my application, so I tried setting the CSS classes needed on the telerik RadTab ...
Apparently jQuery has the ability to decode a given object or string into a JSON object. However, I have a JS object that I need to POST back to the server and I find no utility in jQuery that wraps the JSON.stringify() function. That function is found in Chrome, Safari 4, FF3.6, and IE8 but is not found in earlier browsers. I can use it...
Hey Team.
I'm wondering if any of yall have any insight as to how one could execute a function by reference in javascript.
http://mootools.net/shell/yL93N/1/
Any discussion would be cool.
-Chase
...
Hello everybody and thanks for taking your time.
I got an existing project where the main-page uses a horizontal accordion for the main content area from jQuery Tools (the Tabs element).
Now i have to implement a Tabs-menu (into one of the existing accordion pages) which is build with jQuery UI (the main container are Tabs and inside o...
Just a regular box, not too big not too small.
...
I'm creating a jquery lightbox for a website i'm developing, no thank you i don't want any pre-built lightboxes. curious if anyone knows what would be a smoother fade in for the half transparent black overlay(that fades out the website so you can see the white div popup), would animating the opacity be smoother, or would simply using
$...
<a href="" onclick="runstuff();return false;">Item</a>
After executing runstuff(), I want to use JQuery to make Item bold.
Will I need an "id"? What about "self"?
...
so I'm wanting to do something like this:
I've got a variable that will return anything upto a 7 didget number, and i need to test the value of each digit individually.
I can only think to do it as a string, but please feel free to offer help as a string or an integer.
total = "1658793";
parseFloat(total.substring(6)) == 3;
returns "...
Sorry if this is an easy one, I'm new to jQuery. I am using the Flip! plugin to rotate a div in place. I would also like to move the div while it is rotating. Currently I am doing this:
$("#flipDiv").flip({
direction:'lr',
content:newContent
});
$("#flipDiv").animate({
'marginL...
i have an ajax form
i know i can use like
return str = str.replace(/\D/g,'');
to strip stuff before submit
whats the best way to stop form submit when characters that are not alphabetic or numeric are inputed
my the ajax search form is at vitamovie.com/movies
...
How to bind jqGrid dynamically?. The columns are not available at design time but will only be available only at runtime.
In the current jqGrid design the colmodels and other properties needs to be pre-populated for the grid to work correctly.
Any input in this direction is greatly appreciated.
...
So I'm trying to load a script dynamically and figure out the URL path at which that script was loaded. So some guy gave me a pretty awesome solution to this problem if the scripts are statically loaded ( http://stackoverflow.com/questions/2255689/how-to-get-the-file-path-of-the-currenctly-executing-javascript-code ). But I need a dynami...
I have a page with some inputs of the class 'foobar', and I call a method on each of them.
$("input.foobar").css('color', 'red');
and I am adding more .foobar inputs to the page with javascript.
How can I use jQuery live (or any other method), to watch the page for the creation of new elements that match "input.foobar" and perform my...
I have made a lot of progress on this, but there is a part I am missing and it seems like it should be simple.
I have a horizontal div and I am using something similar to this: http://www.switchonthecode.com/tutorials/using-jquery-slider-to-scroll-a-div
But I also want to include arrows on the side so that the user can move the slider ...
<script type="text/javascript">
$("a.filef").click(function(e){
alert('hi, it works');
return false;
});
</script>
<a class="filef" href="" rel="1">A</a>
<a class="filef" href="" rel="2">V</a>
...
$(document).ready(function(){
$('#outer').mouseenter(function(){
console.log("mouse enter");
});
$('#outer').mousemove(function(){
console.log("mouse move");
});
});
<div style='width:800px;border:1px solid red' id="outer">
this is test
</div>
when mouse entered the div In firefox,chrome mouseenter event is gettin...
I calculated the wind direction and now I want to show the wind direction pointing to 144 degrees (on compass). How can I show this arrow on Google Maps?
...