hello!
i have a store model, this will handle my leaflet and my shoppingcart for my shop.
now i d´like to show all items added from an user to his leaflet in the index of store. in the store an user can change the quantity of the choosen items. and now i want to save that the changes of the different quantities in the database with one ...
I currently have code similar to this for a form:
$('#some-form')
.submit(function()
{
// Make sure we are not already busy
if($(this).data('busy'))
return false;
$(this).data('busy', true);
// Do post
$.post("some/url", $(this).serialize(), function(data)
{
...
Morning/Afternoon guys.
Writing some JQuery AJAX shizz and getting a bit stuck. I've got the actual proccess of calling the php file done perfectly, its just trying to get the html on the page to change in a way I want it to. I want to get rid of the a with the id of the one used in the ajax call etc, and replace it with the html passed...
Hello All:
I am creating one application in .net MVC, in which I am using jQuery AJAX to post some data to server. The data posting is working fine, but I also need to upload one image along with the data. I have searched on stack over flow for similar question but they are not able to help me. I donot want to use flash to upload file, ...
Hi,
I have an issue where my jQuery script reports followign error in Internet Explorer 8
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; MS-RTC LM 8; MS-RTC EA 2; ...
One test webserver, with the following applications
service.ganymedes.com:8008 - WCF RESTful service, basically the FormsAuth sample from WCF Starter Kit Preview 2
mvc.ganymedes.com:8008 - ASP.NET MVC 2.0 application
web.config for service.ganymedes.com:
<authentication mode="Forms">
<forms loginUrl="~/login.aspx" timeout="2880" ...
hi everybody,
I've a form with some radio button like this:
<input type="radio" name="leva" value="a"><input type="radio" name="leva" value="b">
with ajax post method I receive value of the radio.
The question is how can I set correct radio value to checked?
thanks in advance
ciao
h.
...
Hi All,
In my web page there is a textbox to get the scanned barcode value. Once we scan the barcode it has to get details from the database. I am creating the change event for the textbox.
Problem: $.ajax is not working.
Code:
var target = $('#txtBarcode'), val = target.val();
target.change(monitor());
function ...
I am trying to implement recordset paging using jquery ajax. It does not work when i try to get php variables into my javascript code, any ideas or help will bw greatly appreciated
...
I have a strange issue where the code works fine locally and on a linux server but not on a windows server...
Works fine on: bijoudancewear.co.uk/mapper/
Doesn't work on: faringdongolfcourse.co.uk/mapper/
After clicking on map...
If you click on 'Department Stores, fashion & Accessories' (2nd from bottom) it loads the appropriate data...
I am making an ajax request using JQuery that looks like this:
var data = createXMLdata();
$.ajax({
url: 'http://localhost:8080/foo/bar',
type: "PUT",
data: data,
processData: false,
contentType: "application/text",
error: function(xhr, status, error) {
alert("Error: " + status);
},
success: funct...
Hi There,
let me rewrite my question, I have a Ajax Accordion in my web site, Users can add images, in Accordion,I keep the thumbnail and fullsize image's path in Sql Server table, Users can see the thumbnail, and when they click the thumbnail, I use a ModalPopupExtender that open an asp panel to show the full size image, with progress ...
I have two html select server control on an add data form page. The user selects a value in the first html select server control and then values are populated into the second html select server control with jquery.
The problem is when a a user clicks the save button and the page posts back, the values are no longer in the drop down list...
Hi,
So I have this text input in a form, and I want to update a div as the user types text in the text input.
<p><label for="movie_name">Film: </label> <input type="text" name="movie_name" class="required" onkeydown="changediv2(this.value)" /></p>
<p><div id="ajax_update"></div></p>
My js method:
function changediv2(str) {
$('#aj...
I'm hoping someone can help with this, I'm having a real difficult time getting jQueryUI's autocomplete to work with ajax in a asp.net app (not MVC). I can get it to make the ajax call but I'm not doing something right handling the response.
Just for starters I'm trying to have autocomplete make an ajax call to 'GetSuggestions.aspx' wh...
The link #loadContent will loads tree.html. Upon success loading the content, the script reinitialize some functions which is in tree.html. However, I am unable to get the .click event to function in the loaded content.
Index.html
<a href="#" id="loadContent">Load</a>
<script type="text/javascript">
$(function() {
...
Hi all,
I have a user registration form. I am doing server side validation on the fly via AJAX. The quick summary of my problem is that upon validating 2 fields, I get error for the second field validation. If I comment first field, then the 2nd field does not show any error. It has this weird behavior. More details below:
The HTML, JS...
I'm in the process of migrating from Prototype to jQuery and moving all JS outside of the view files. All is going fairly well with one exception. Here's what I'm trying to do, and the problem I'm having. I have a diary where users can update records in-line in the page like so:
user clicks 'edit' link to edit an entry in the diary
...
If my Ajax call returns a successful result, but while processing the result I cause an exception, the error handler fires. This seems counter intuitive to me as I think the error handler should only fire when an error occurs as a result of making the Ajax call or via a server-side error. I am trying to use the Ajax function in a unit te...
i am building a php form with ajax and i am submitting the form variables to the same page where the form resides. my validating code looks like
if($valid){
echo "<div id='retmsg'>Your message has been submitted successfully</div>";
}
else {
echo "<div id='retmsg'>An error occured!</div>";
}
My ajax code
function form_submit...