Guys, I can't seem to get the object serialization working correctly clientside for my app? When I used the getJSON() method inside jQuery with a response mime type of text/json (serialized using JSON.Net library), it was working fine, but as soon as I moved it across to an ajax() request (so I could post my code in webmethods on my page...
I used SPRY about a year ago to experiment with the fact that you could essentially load a "dataset" into Javascript/browser, and act upon that to bind to form fields like textboxes, combo dropdowns etc.
I really have been trying to find something really simple to allow me (a coder) to write the backend code to get the data, and my part...
I have run into trouble using NHibernate when I am doing ajax calls using JQuery.
I get different exceptions regarding either the connection or reader being closed like:
"Invalid attempt to call Read when reader is closed".
Does anybody know how to fix this?
...
When configure defaults options for the validator:
$.validator.setDefaults({
errorElement: "em"
});
and then simple using like:
$("form").validate({});
validator still uses label element and ignore errorElement em that configured in defaults!
What can i do in this case, of course putting errorElement for each instance of valid...
I've googled and so searched this, but to no avail (probably poor search skills).
My problem is probably pretty simple, I simply want the mouseover event to only show the containing div (.action) when the list item is moused over (ui-state-default).
Here's the Markup
<ul id="column-2" class="connectedSortable">
<li class="ui-state...
Anyone have any luck getting JScrollPane to work with JQuery?
I'm following the instructions to the letter and all that happens is that when the page loads, the call just hides the browser's scroll bar but doesn't render the custom scroll bar.
Files included in test HTML page:
http://70.85.188.226/_assets/css/jscrollpane.css
http://7...
I have a strange problem with the jQuery accordion plugin and IE7 (and maybe earlier, haven't tested there). I'm using a customized jQuery UI theme built with ThemeRoller. I've tweaked it some to adjust colors, margins, and borders. The accordion is located inside a DIV which is, in turn, nested inside my main content. Simplified mar...
How can I find all text fields that have an empty value?
$(":text[value='']")
gives a JavaScript error
I know I can do $(":text"), iterate through and return all fields with $(this).val()==''
I am looking for a cleaner method and using JQuery 1.3.1
It has to work if the element originally had a value when the page was loaded, and th...
I know there is a far more elegant/efficient way of doing this (in php I would use foreach) but with jQuery how can I walk the var/val pairs of a JSON response and populate form fields with the same id's as the field names in the JSON response?
Here is my JSON response:
[{"field":"svendor_name","value":"Vendor Name Inc."},{"field":"sve...
The ASP.NET DropDownList has the property Enabled="false", but is it possible from jQuery to set the property to Enabled="true"?
...
I'm at my wits end with this one because there doesn't seem to be anything viable for this.
I have tried using jQuery UI's autocomplete from SVN, which can be found here: http://jquery-ui.googlecode.com/svn/branches/dev/autocomplete/
But the total lack of (updated) documentation has got me as far as displaying a bunch of [Object]'s in ...
I have a simple page with a single rendered iFrame. There's a link called "Add File" and unobtrusively I would like to attach an event to the "Add File" anchor so that when clicked, it inserts a new iFrame below the existing one with the ID of the iFrame incremented.
An example of the iFrame would be:
<iframe name="uploadForm1" id="up...
Is there anyway to create an image map in Flash/Flex, and have it as a scriptable element in the DOM through jQuery?
I currently have a standard HTML image map that, when a certain selection is clicked, checks a checkbox on a form on the same page (via javascript). I'd like to replace it with something more visually appealing, so I tho...
I am using the .alphanumeric plugin for jQuery which is certainly doing what I would expect as users type directly into the textbox. But, if a user were to copy and paste a value into the text box, all bets are off.
$("#<%= txtNumber.ClientID %>").alphanumeric({allow:"-"});
I can certainly do this:
$(document).ready(function() {
...
Hello,
I have a problem with an async call using jquery (ajax, load, get, post). While I wait for the remote site to answer I can't navigate my links until the remote web site either answers or times out.
If I click a link to an external web site (google for example) the page switches right away. I've tried this on my local IIS, windows...
So I have a div who's content is generated at runtime it initially has no height associated with it. When it's generated according to firebug and from what I can alert with js the div still has a height of 0. However, looking at the read-only properties with firebug I can see that it has an offset height of 34. It's this value that I ...
Hello all,
First off, I am fairly new to MVC and jQuery. I apologize if my question or terminology is incorrect.
I currently have a view in my MVC application that displays a list of addresses. On the same page, I also have a map where I wish to map these locations.
I am trying to find the 'proper' way of getting the list of address o...
I have the following code, however if the input.formdate is not found it will still run the getDateFormat function. This doesn't make sense to me. Does anyone know the reason?
$(function() {
$("input.formdate").datepicker({
changeMonth: true,
changeYear: true,
dateFormat: getDateFormat()
});
});
function getDateF...
What do you guys recommend for a UI library to use with jQuery. jQuery UI seems to have less widgets compared to other frameworks. I've been playing around lately with the Dojo Toolkit which seems pretty nice so far, and I know that there is always the Yahoo! User Interface, but is there anything else?
I also need to consider licensing...
Hey,
I am trying to create a jquery function where I have a sidebar on the right with a bunch of images with:
Title
About Text
On the right it shows them all, then if you click one it shows the image larger on the left with the text. And if you click another it transition in to that other one.
I could set up a bunch of elements and g...