Hi there,
Forgive me if this has been addressed before, couldn't find anything.
I am animating a content bar that that has children absolutely positioned outside it (via negative margins). The idea is that the children will animate with the bar as it expands.
What happens is as soon as the animation starts the children disappear, and...
How to check whether a particular element is hidden from the user? In my code, under certain conditions, this code will be called:
$("#VersionSelectField").hide('fast');
So I have to make sure that if $("#VersionSelectField") is hidden, then I would not have to validate the value inside it when I submit the form ( I use JQuery Validat...
Hi
I am trying to go through this tutorial tutorial . This tutorial seems to do everything that I been looking for but I am having trouble trying to understand it.
Maybe it is because I don't know enough of Xval, jquery.validate.
1st
He seems to be using a typed view: RemoteValidation.Models.User. What happens if I want to pass some ...
$('.textedit').editable('/challenge/skeleton/textedit/textedit/process', {
loadurl: '/challenge/skeleton/textedit/textedit/loadraw',
loaddata: {id: $(this).attr('id'), client: $(this).data('client')},
submitdata: {id: $(this).attr('id'), client: $(this).data('client')},
....
});
$('#textedit_footer').data('client', 5);
$...
How to dynamically, via javascript, delete a session cookie, without manually restarting the browser?
I read somewhere that session cookie is retained in browser memory and will be removed when the browser is closed.
// sessionFooCookie is session cookie
// this code does not delete the cookie while the browser is still on
jQuery.cooki...
I'm trying to get the value of a few checkboxes and enter them in a hidden form field, is there a way to do that in jQuery,
my checkboxes look like this
<form>
<input type="checkbox" name="chicken" id="chicken" />Chicken
<input type="checkbox" name="meat" id="meat" />Meat
</form>
<form method="post" action="">
<input type...
I have a javascript/jQuery block as a callback after $.get function:
function myCallBack(data, textStatus) {
var text1 = $(data).html();
document.write(text1);
}
The data contains html data ok. I'd like to strip the html and get only inner html into text1 variable. For some reason it doesn't work. Firebug kinda "crashes" upon exec...
The JS script:
function ShowUploadingAnimation()
{
$('#info_msg').html("<div style=\"padding-top: 15px; height: 50px;\" align=\"center\"><img id=\"uploading-img\" /></div>");
$("#uploading-img").attr({ src: "images/uploading.gif", alt: "Uploading" });
}
And the html usage:
<input type="submit" value="Upload" onclick="ShowUplo...
I had this HTML code like that:
<ul>
<li>
<div class="Items">
<div class="WrapImage">
<div class="caption-right">
<span class="icon1"></span>
<a class="time" href="">4:03</a>
</div>
<div class="Images">
<img src="/images/images/rightColumnImg.gif" />
</div>
</div>
<div class="text">
<a href="">A good clips you should click to see</a>
<p...
Hi
Having this div:
<div id="advSearchDialog" style="visibility:hidden;">
<xx:search ID="searchUC" runat="server" />
</div>
And a button:
<input type="button" id="btnAdvSearch" value="Search" />
I turn it into a jQuery dialog, where the button opens the dialog:
$(document).ready(function() {
$('#advSearchDialog').dialog({...
Hey,
chaning xml attributes through jquery is easy-peasy, just:
$(this).attr('name', 'hello');
but how can I add another tag into the file? I tried using append the JS dies silently.
Is there any way to do this?
Clarifications: this code is part of an extension to firefox, so don't worry about saving into the user file system. Stil...
Hi there,
can anyone help, I have some jquery and chrome is blocking the popup i am creating, after some investigation it appears to be an issue with window.open in sucess event of an ajax call.. Is there a way round this? My jquery ajax call needs to return the URL i need to open :-) ... so i am bit stuck...
If i place the open.windo...
I am using jQuery to grab results from a webservice(3rd party can't change). A result set is something like:
<result>
<contactId>1234</contactId>
<contactState>9</contactState>
<contactStateSortOrder>5</contactStateSortOrder>
<address>
<addressId>568</addressId>
<contactId>9801</contactId>
</address>
</result>
Now...
Hi there,
Is there anyway that i can open a new window in the browser using jquery and post to it.
Reason being is my bank requires that i open there payment gateway and pass my values by POST and not GET.
I have a bit of workaround at the moment but its not idea.. I used QUERYSTRING to an ASPX page withing some hidden forms and submi...
Hello,
My problem is the folowing:
I am trying to retrieve the postvalue, but whenever I put that statement in the php code the ajaxcall will fail.
I cannot see what I am missing here??
$.ajax({
url: "includes/livetabs.php?actie=sessiegebruikersnaam",
data: {gebruikersnaam: tbgebruikersnaam},
cache: false,
...
After I submit a form the position will return to the top of the window. Instead of going to the previous position.
Looking at using scrolltop to rememeber the positon or do you have a better idea?
I'm using stuff like PHP5, jQuery and MySQL.
...
This works fine:
$.getJSON("http://localhost:59396/xxxWeb/
CarouselHandler.ashx?action=getproducts&ids=" + ids,
function(data) {
carousel.size(allProductIDs.length);
if (numberOfImagesLeftToShow <
numberOfImagesToDisplay) {
first += (numberOfIm...
I'm using jQuery along with the tablesorter plugin to sort a table. Everything is fantastic, but I'd like to insert a few rows ever 5 or so rows, and have those stay in that position, no matter how the table is sorted.
I've searched around on google, and have found nothing. I was thinking perhaps using a hidden table row along with a fo...
I'm trying to get the total height of a page using JavaScript and jQuery so I can check if the page is long enough to display something, however in my testing I am unable to get the total height of a page.
I've looked around on the Internet but things like this don't seem to be well documented, as all I can find is scrollHeight, which, ...
I have been happy serializing with javascript objects into JSON using
JSON.stringify
And sending along to my "static" webmethod in c#/asp.net and sure enought it arrives .. I need the correct number of parameters hence if my json object has "startDate","endDate","reserve" then my webmethod needs these as parameters.
"Basica...