I have this piece of code:
var categoryDetailId = $("#createEventForm-categoryDetail-idCategory").val();
and this html from myrendered page:
http://erxz.com/pb/22844
When I hit the button it goes to Nan
Update:
I went in and set that and it didn't work still. I also have this one.
var eventInformationId = $("#createEvent...
there are various good jquery image preview plugins out there. however, all of the ones i've tested havent worked on image links that are embedded in the DOM with ajax.
i have tested use jquery live feature, but it doesnt work flawless.
$('a.preview').live('mouseover', function() {
$(this).imgPreview({
imgCSS: {
...
I have the following scenario...
When I hover over span.share-this, it triggers a div called 'under' to come into view. This bit works exactly the way I want. Now I set it so, that when the mouse cursor is on the 'under' div and I mouseout, the 'under' div goes away and everything is back the way it was (Everything is still dandy).
My ...
I want to scroll my 10 images in continue scrolling mode just like demonstrated in this flash file: Demo Flash
But I want to do this using CSS, and jQuery or JavaScript without using flash. I want to scroll images continuously and when I mouse over on it the scroller will stop and when out it will again start scrolling.
I Googled a lo...
Hi All
I have a modal popup as (lightbox etc.). If i want to add java applet into the modal popup via javascript i encounter a problem that is Java Applet don't display propperly sometimes dont' everytime. I tried to solve it setTimeout methot but it didn't solve :( Do you have a suggestion this issue? Thanks.
...
I am writing a sql editor (sqlite3).
I can display a table and allow users to edit any value in the table but I now need some way of identifying the value editted. The problem is that I don't know what the primary key is and I don't think it's that good an idea to say "update table set a=b where x=123 and y=123 and z=123 and..." for all...
I have the usual Jquery datepicker working fine. But I want to feed it into a set of selectboxes rather than one textfield. I have had success feeding it into one select field with a specific format but am unsure how to feed all three into different fields with different formats.
$(document).ready(function(){
$("#search_startdate")....
I am using the jCarouselLite jquery plugin to a simple rotate where an image+text is displayed on at a time, with a prev+next button. My problem is that jCarouselLite seems to be inserting a set height for all the elements. My need is that all my pictures are of the same height, but the amount of text can differ - currently jCarouselLite...
Hello everyone,
I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net. I am new to jQuery and ASP.Net AJAX framework. Suppose I need to use jQuery function (e.g. from jquery-1.3.2.js). I want to confirm that jQuery and ASP.Net AJAX framework are totally two different things, no dependencies?
So, no need to install and configure ASP...
We've written a lot of code in jQuery recently and id like to know if replacing the library with 1.4 will invalidate any of our current code or is the syntax identical?
Thanks in advance!
...
Google Contacts lets you search your contacts by typing in an input box while recurrently update an other part on the screen with the results
What would be a good approach to imitate this behavior using jquery?
I thought about starting from jquery Autocompleter and change it accordingly, after all, its behavior is not very different (m...
Hello, I have a javascript function which asks for some ajax data and gets back a JSON object. Then it should return the object.
The problem is that I don't know how to make the function return from the Ajax callback. Of course
myFunction: function() {
$.get(myUrl, function(data) {
return data;
});
}
does not work, be...
i have an html table followed by a button that says "Add Row" below it.
WHen i click on the button, i would like to add a new row onto the html table but first i need to get the html table id above.
is there anyway in jquery to say "Give me the id of the html table right before this button">
...
Hi Guys,
I have a bunch of elements with ids like "check1", "check2", "check3" etc. I want to loop through each of them and hide them and set onclick funcion. Here is my current code:
for (i = 0; i < badgeArray.length; i++) {
jQuery("a#check"+ i + "").click(function(){
jQuery("#check" + i + "info").toggle();
...
I have a website. It uses jQuery, a few plugins, Cufon, etc to spice things up a little, mostly visually.
The iPhone version does not need any of these files.
Can I, without resorting to subdomains, prevent the iPhone from loading these scripts?
<script src="js/jquery-1.4.min.js" type="text/javascript"></script>
<script src="js/browse...
im using a image preview that allows me to add css styles to the previews that pops up.
now, some images are larger than the screen so you will just see a portion of them, while other images are very small so you don't have to resize them.
is there a way to only resize the larger images and not touching the smaller ones, eg. only resiz...
Hi guys,
I'm trying to make an AJAX enabled web page using rails and jQuery. The problem that I am running into is that when I try and load a view into a div using jQuery's AJAX method I am getting my application layout returned with the view. Is there a way to only retrieve the view data if it's an AJAX request, but load my application...
CODE:
$(document).ready(function() {
$('.toggle').hide();
$('.show').click(function(){
$('.toggle').toggle('slow');
$(this).attr('src','images/checkmark2.jpg');
},function(){
$('.toggle').toggle('slow');
$(this).attr('src', 'images/checkmark1.jpg');
return false;
});
});
...
I Have a a list of contacts like this.
NameOfContact Accept
NameOfContact2 Accept
......
Where "Accept" is a link.
When I click "Accept" I want to send an ajax request with the id of the contact.
When the ajax call returns it should remove the Accept link and display the result there.
So if i click on Accept button of contact 2 the ...
I'd like to take the code found here: http://www.jslab.dk/articles/non.recursive.preorder.traversal.part2
// HTML element
var root = document.documentElement;
recursivePreorder(root);
// Recusively find and handle all text nodes
function recursivePreorder(node) {
// If node is a text node
if (node.type == 3) {
// Do somethin...