I have a page where there's a drag and drop table where the order of the rows determines the value of a subtotal. However, it's more complicated than just addition and I would rather not duplicate the logic in JavaScript to update the values.
A simple solution would be to reload the whole page using Ajax and then replace the table from ...
I'm working on a new portfolio site at http://www.nitrohandsome.com, and am using the experience to cut my teeth on jQuery. I'm using the latest build and jcarouselite along with the easing extension on my main page for a nifty carousel effect. It works fine in most browsers, but when I started testing in IE (7 and 8, haven't started opt...
I am developing asp.net mvc application. I have a section on the form where I add some text boxes dynamically when the user clicks a "Add New Part" button. The problem is when I submit the form I don't get the data from the fields I added dynamically. I am passing the FormCollection to my controller and stepping through the code in th...
Hi there - I've been trying to get this to work for days upon days and it seems like one thing after another. Initially, I finally tracked it down to trouble passing ASP.NET dates in the JSON string back to the grid. I am now using JSON.NET and the dates are coming back the way they should be I'm stuck right back where I alwasy seem to b...
My site works fine in Firefox, but it crashes in IE.
I am using alot of jQuery in order to fade in content. When the user clicks on one of the above links a few times, it will crash in IE.
Here is my site: Idea Palette
I have absolutely no idea why the site crashes in IE. I don't even know where to begin to debug my problem. I don't h...
I am looking for some example code that does this, but am not having much luck.
I'd greatly appreciate any help with this.
Thanks!!
...
I'm trying to move some elements on the page, and during the time the animation occurs, I want to have "overflow:hidden" applied to an elemnt, and "overflow" back to "auto" once the animation is completed.
I know jQuery has an utility function that determines whether some element is being animated but I can't find it anywhere in the doc...
Hi there, I have this function
$.ajax({
url:aurl,
method:'GET',
beforeSend:function(req) {req.setRequestHeader('Authorization', auth);},
cache:false,
dataType:"json",
error:function() {...},
success:function(t) {...}
});
However, the parameters:
method
beforeSend
Cache
are ignored by my browsers FF3, IE8 and Chrome. So, whatever i...
I am getting data from a database through AJAX and appending tags to a select statement. The following code works in firefox, but only partially in IE. The problem in IE is that is creates the option elements in the dropdown, but the "text" attribute value is empty (the dropdown appears with 30 blank rows! However, the "value" attribute...
hey well i am working on something that which will basically create a business card online here is a example.
http://weblayoutsrus.com/draggable/example.html
im basically trying to layout the div tags like fullname ect with css, then i want to grab the X & Y co-ordinates of the div tags relative to there container so that it can b pass...
Hi all,
I'm trying to implement a jquery dialogue box multiple times on one page - basically, I want to show further info about a person when a user clicks on their name.
I'm generating the page with php.
I've tried to do this, and got it partially working, but i can only make the first instance on the page work. Please can anyone po...
I have the following issue, I have a large tree which has subnodes which can be folded and unfolded on demand (the data within nodes gets fetched with AJAX). However, I use jquery.event.drop/drag to create my drag/drop targets.
However, when I fold/unfold the drop targets change position and I need to recalculate. This is how I wanted t...
I'm trying to format various numbers on my page. These numbers either represent a price, a change in price, or a percentage. I know Javascript has functions to limit the number of decimal places, but is there any support for other types of formatting, such as grouping numbers with commas, controlling whether or not the +/- is shown, et...
I'm using rails, but doing all my Javascript unobtrusively using jQuery in application.js.
Unfortunately, this makes it quite difficult to reference URLs. For example, if I want to give a field autocomplete behavior, I have to hard-code the autocomplete URL in application.js since the rails url_for isn't available.
Is it possible to ma...
Hello,
I am trying to create a simple ajax chat using JQuery and ASP.NET. My code works like this:
When the page loads it refreshes the 'chatbox' div with a request to the messages.aspx page, which handles getting new messages from the database and kicks off an auto refresh with the setTimeout().
Whenever the user clicks the send b...
Is there a way to call a backing bean method using the javascript XmlHttpRequest object or through jQuery in JSF?
...
hi !
in my eternal internal fight on whether to stay with mootools or jump to jQuery I've found on the jQuery documentation something that got my attention and this is that jQuery can ask for a JSON to a different domain, which is usually forbidden by the browser.
I've seen some workarounds for cross-subdomain, but never cross-domain, ...
I have an iframe and I wrote this code
window.parent.document.getElementById('parentPrice').innerHTML
to access parent element. How to get the same result using jquery?
UPDATE: Or how to access iFrame parent page using jquery?
...
If you visit here: http://www.egyptevakantie.nl/dahab, click on the "andere plaatsen" tab, and then click on an image it brings up a magnified image, courtesy of the jQuery lightbox plug-in.
However, if you do the same here http://www.egyptevakantie.nl/dahab?rhys=yes (essentially the same site except for a couple of stylesheets and one ...
Can jquery ajax code call a webservice from another domain name or another website?
Like this:
$.ajax({
type: "POST",
url: "http://AnotherWebSite.com/WebService.asmx/HelloWorld",
data: "{'name':'" + $('#price').val() + "'}",
contentType: "application/json; charset=utf-8",
data...