I have an ajax app that will run functions on every interaction. I'd like to be able to run my setup function each time so all my setup code for that function remains encapsulated. However, binding elements more than once means that the handler will run more than once, which is obviously undesirable. Is there an elegant way in jQuery t...
the site in question: http://homecapture.ca/testset/index.html
The scenario: I have a tabbed menu generated from an unordered list, when a menu item is clicked it reveals an iframe which links to the page containing an image gallery. I am using jQuery UI tabs for the tabbed menu, and the galleries to which I'm linking are jQuery Galleri...
I am unable to get this event to fire:
$("#about").click(function()
{ //I have put alert("foo") here, won't fire
$("#about_stuff").toggle();
});
snip
<li ><a href="#a" id="about">About</a>
I've tested the toggle line in Firebug and it successfully works - I am at my wits end, I've checked it against multiple examples ...
I have an iphone web app built in jqtouch, when content is loaded by links ("a" tags) then any content on the next page is parsed by jqtouch and any links are initialized. However, when I load content via an AJAX call and append() it to an element then any links in that content are NOT initialized by jqtouch. Thus any clicks on those lin...
quick back story--
I am working on ASP.Net based template editor that lets authors create text templates using Javascript inserted placeholder tags that will be filled in with dynamic text when the templates are used to display the final results.
For example the author might create a template like
The word [%12#add] was generated dyna...
I'm using jQuery to load the images before displaying them. The problem is that I don't know how many images are going to be loaded. The page loads the image paths from a XML file. I'm using this:
$.ajax({
url: 'images/BYLINE/1.png',
dataType: "image/png",
success: function(data) {
alert('psil');
},
error: fu...
With this code I've been able to capture the mousewheel movement and apply it to the horizontal scroll bars instead of the vertical default.
$('html').bind('mousewheel', function(event, delta) {
window.parent.scrollBy(-120 * delta, 0);
return false;
});
Is there any way that I could add this jQuery easing animation to the scroll...
Hi,
I have used curvey redraw library from google code(http://code.google.com/p/curvycorners/) & it has solved my purpose, though now as per new req i am struggling with IE. I want to have two tab rows each containing 2 tabs.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org...
In the following code I get an error that says autocomplete function Object is not a property or method
Here is the code:
<title><%= ViewData["pagetitle"] + " | " + config.Sitename.ToString() %></title>
<script src="../../Scripts/jqueryui/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.core.min.js"
type="tex...
function populate_customer_details(){
$.ajax({
type : 'POST',
url : 'populate_customer_details.php',
data: {
email : $('#txt_email_id').val()
},
success : function(data){
if(data=="NOROWSFOUND"){
alert("Sorry, Email ...
can we use more than one click event in the Jquery
as
$(document).ready(function(){
$('#button').click(function(){
...........click(function(){
...........click(function(){
});
$(this).hide();
});
});
pls help me
i wrap the code due to less space for the code
$('#togglebutton1').click(function() {
if ($(this).is(':visible')...
I have 11 checkboxes with individual ids inside a modal popup.I want to have a hyperlink called SelectAll,by clicking on which every checkbox got checked.I want this to be done by javascript/jquery.
Please show me how to call the function
...
Hi all,
I am using firefox 3 and IE 6, 7 to test if a simple php web page using JQuery Post to
pass some data to and from another server web page.
$(document).ready(function(){
$("#data\\[User\\]\\[name\\]").click(function(){
var usr=$("#data\\[User\\]\\[name\\]").val();
if(usr.length >= 4){
$("#username")....
How to make a frameless modal popup using javascript
...
Hello, I have a Jstree that holds a lot of nodes, some of them have the same ID.
I was wondering, how do I make it so that if someone selects
one of the nodes, it would select every node with the same id.
I tried working with the
onselect: function (node) {
but I'm not sure what exactly to do,
plus I'm not sure how to manuall...
Hello,first,I work on localserver,xampp,jquery uploadify just upload one file,and other files are on 100%,and stay like that.When click on x button to stop I get this message : 'uncaught exception: Error in Actionscript' ?? Any idea?This is wordpress project.
my code :
uploadifyObj={
uploader : '<?php echo $full_path_...
How can I achieve auto expand textarea through jQuery?
...
I need a sort of "live" effect on some checkbox - i need that every checkbox since now will be checked by a jquery function attr("checked", true) when they appear.
Is it possible to do?
...
I'm writing a script for a form-faces xforms product that is keyed off an event built into form faces. The event is called 'xforms-ready'. I have define 'startTime' as happening as soon as the document in 'ready'. What I want the script to do is warn the user that it is taking too long before the 'xforms-ready' happens, say if it's been ...
Hey!
I have a Lightbox clone (colorbox), which works fine and has no real issues. What I would like is an extra arguement that would say:
[pseudocode]
if (linksRel == "lightbox1") {
add stylesheet1 to this lightbox
} else {
add stylesheet2 to this lightbox
}
[/pseudocode]
Currently, I have a page with a "colorbox.css" file atta...