I was building something using jQuery's AutoComplete plugin last week, but today I found that it's not working.
After some debugging, it seems that the external scripts I've been loading no longer exist:
http://dev.jquery.com/view/trunk/plugins/autocomplete/lib/jquery.bgiframe.min.js
http://dev.jquery.com/view/trunk/plugins/autocomple...
Hi All
Please, why is this not working:
$("#togglePanel").click(function(e){
$("#toolpanel").toggle(function(){
$("#orderMap").animate({marginLeft: 0, width: "100%"}, 500);
}, function(){
$("#orderMap").animate({marginLeft: "341px", width: "576px"}, 500);
});
});
But when I do this, it works:
$("#...
Hello,
I am using custom edit/delete functions in jqGrid and I really enjoyed the fact that they call your custom function after checking if a row was selected or not.
Now I would like to add two more buttons and I would like to use the same behaviour of the edit/delete, so when a row is selected my function get called but if no rows h...
Hi again , today i have a simple an understable problem for me . Next code:
alphavar = $('#frontcolour').css('opacity');
console.debug(alphavar+' '+parseFloat(alphavar));
It runs ok width Firefox and width Opera ( now all perfect :) ) , but chrome i dont know why it doesnt parse it ok : here the answer of the debug send for me (the se...
Hello,
I have a web page that is using the following META tag:
<META HTTP-EQUIV="refresh" CONTENT="15;URL=/myPage.aspx" />
This page has a textbox and a drop down list. When the user changes either of these fields, I am hitting a web service via JQuery. I would like to append the values of these fields as query string values to the U...
I am using jquery datatables to display data from a mysql database. When you click on a row, a jquery ui dialog box opens with a form for the data, and buttons to update or delete the entry. The code for the update button uses serialize to send the data to a PHP script, like this:
buttons:{
"Update": function() {
$("#result p")...
I have the following jqgrid that uses the jquery ui theme imported to my master page.
$("#shippingscheduletable").jqGrid({
url: $("#shippingscheduleurl").attr('href'),
datatype: 'json',
mtype: 'GET',
altRows: true,
colNames: ['Dealer', 'Model', 'Invoice', 'Date', 'PO', 'Seria...
Hi everyone,
I make an ajax call with jQuery's "$.get" that returns a string to a function. This string contains both xml and html, and I have to extract some part of the html with jQuery's selectors, for example:
$.get(
url,
function (xml) {
$(xml).find('something').whatever();
}
);
In that case, everything works...
I was wondering how would I add a login to a jQuery light box? Would PHP be reqired? or Just the action link that is on the form element? <form action=""> I will be using fancybox for the lightbox
...
I doing a field validation using jquery to check if it is empty. If it is I want to display a message and then refocus on the field so the user can enter some data. Code:
$('#fieldId').blur(function() {
var fieldValue = $(this).val();
if(fieldValue == null || fieldValue.length == 0) {
$(this).addClass('error');
...
It appears that the jQuery-based version of ASP.NET MVC2 form validation didn't make it into the final release. This is a bit unfortunate.
First off, I can't figure out whether the version that did make it into the final release has an extension point - akin to an "onvalidate" event to which I can attach my own code... For instance, I w...
Hi
I am using jquery ajax method to retrieve data. It is working in IE but I am getting data as null in FF and Google chrome.
I think the problem is, mozilla cant get 'data', because alert(data) returns null. even I debug in firebug It is showing data is null
My code is
$.ajax({
type: "POST",
url: "http://myserv...
I am using JQuery to load some data dynamically via ajax. Whenever the user initiates the ajax request (i.e. clicks a button, or loads a page etc.), I display an ajax loader gif. Once the ajax requests completes (or errors out) I hide the loader image.
This works great most of the time. But I noticed (in IE7 for instance) that ajax ca...
I'm trying to return an error message via Json from ASP.NET MVC controller. I want to display carriage returns on the screen, so the error will look like:
Error 1.
Error 2.
instead of "Error1.\u003cbr/\u003eErro2.\u003cbr.\u003e"
Here's my ASP.NET MVC code
Response.StatusCode = (int)HttpStatusCode.BadRequest;
string str = "Error 1...
I'm working with some code that uses JQuery's $(document).ready functionality to set up a jqGrid instance. It appears that the code is fired even when returning to the page via a back-button click.
In a stripped-down test page, a similar ready function is not called when reached via a back-button click:
<html>
<head>
<script type=...
We have a JQuery $(function() statement as:
<script type="text/javascript">
$(function(){
//Code..
})
</script>
Dumb question - when exactly is this function executed? Is it when the entire HTML page has been downloaded by the client?
What is benefit of using the wrapping your code within $(function() as opposed to just doing:
...
Having discovered that IE does not handle javascript onmouseout, I determined to use jQuery instead so the cross-browser compatibility would be taken care of automatically. I am making an area defined by an svg path light up when the mouse hovers over it, and I adapted the code provided on the Raphael website from the Australia example: ...
When my users find a great idea on my site, I want them to be able to click an "Add" button next to the idea, which opens a popup with a textarea that is pre-filled with that idea's content. The user can then edit the idea content before adding it to their to do list.
I've got this jQuery function working, but if the idea content has l...
Does anyone know of a working jQuery autosave example, one with an actual demo. I've been looking for a few days and have tried a few examples but I have yet to get one to work correctly
http://forum.jquery.com/topic/auto-save-plug-in
http://plugins.jquery.com/project/autosave
http://ideamill.synaptrixgroup.com/?p=3
are a few that i'v...
I've been trying to capture the alert dialog of an iframe unsuccessfully. The iframe is on a different subdomain but the same domain.
This doesn't seem to log the output to Firebug from the iframe Alerts
function alert(message) {
console.info(message);
}
Do I need to reference the iframe by it's DOM layer somehow? Is wind...