2,530 Topics

Member Avatar for
Member Avatar for xiiopao

hi there guys :) im currently working on a project with jquery... the thing is.. i need to change the contents of a div named "sub2" with the contents of "pets.html"... i've read some tutorials and i thought the best way to do this is through the use of jquery... …

Member Avatar for Airshow
0
129
Member Avatar for Nimerion

Hi! I have a problem with a small effect. The idea is to dynamicly change the pages in a single box, and the header and the footer of the main page to hide or show the box with the information. That's the idea.. [CODE] <?php session_start(); require "config.php"; ?> <!DOCTYPE …

0
77
Member Avatar for Julia25

Hi There! Can anyone teach me on how to use this script? (im not a programmer :)) i wish to use this but the images are in each div [url]http://www.chazzuka.com/blog/?p=87[/url] demo [url]http://www.chazzuka.com/experiments/jquery-image-loader/jquery-image-loader-3.html[/url]

Member Avatar for twiss
0
82
Member Avatar for Sanket_s

i recently create script for google style dropdown search give name as "SearchPuppy".. [IMG]http://i56.tinypic.com/35k1t7k.gif[/IMG] script working fine. hope you guys like to develop more functionality in it. you can download it [URL="https://sourceforge.net/projects/searchpuppy/files/"]here[/URL] also give your valuable feedback after using it ..

0
56
Member Avatar for Sanket_s

i want to take text from <li> selected from user as cookie value.. but help me to set [B]Var[/B] [I]selected [/I] as cookie value please suggest correction in this code [CODE] <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jcookie.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("li").click(function() { var selected = $(this).html(); }); $.cookie("selection",selected); alert($.cookie("example")); }); …

Member Avatar for Sanket_s
0
95
Member Avatar for benjaminFowl87

I have a problem with the val function it is unable to get the value of a field once I have type text into it, this only occurs when the form is in a jQuery popup box that has a form. According to my inspector, it says that the element …

Member Avatar for benjaminFowl87
0
3K
Member Avatar for filch

I have a page at the following URL: [url]http://www.streetkids.org/ways_to_donate/make_donation2.php[/url] which is a basic donation page. The two page sections you see on the page "One Time Gift" or "Monthly Subscription" are normally hidden via a document.write via a body onload. Generally, all of this functions well. But, I want to …

Member Avatar for Airshow
0
1K
Member Avatar for Barrett1

How would I go about getting a variable from a jQuery plugin? index page [CODE] $("#test-div").myplugin(); if(testvariable == 1){ alert("test variable equals 1"); } [/CODE] The plugin page [CODE] (function($){ $.fn.myplugin = function(){ var testvariable=1; return testvariable } })(jQuery); [/CODE]

Member Avatar for RRPowered
0
77
Member Avatar for sunny124

Hi, I have a checkbox where if a user clicks it, the address fields gets removed and if he clicks it again, it should add those address fields back. I can get it to remove it successfully but when I try to add those fields back, I get [object Object] …

Member Avatar for sunny124
0
119
Member Avatar for feoperro

Hi there, I'm trying to do a Username validation with JQuery but I'm not sure how to get a "TRUE" from the first section of code before going to the next section which is an ajax call to the backend. Below is my code. [CODE] $(document).ready(function() { $("#username").change(function() { var …

Member Avatar for feoperro
0
262
Member Avatar for pietpiraat

Hello everyone, i'm using the keith woods jqeury datepicker, now my question is about the rangeselect option, it always blancs out dates previous to your first selected date, is it possible to change this so the "oldest" date is the first, it can be a little confusing for some users …

0
88
Member Avatar for manraj82

Hi guys, I am in the process of creating a login form in ASP.Net and I have not written any code for it yet bcos I dont know how to go about doing it.In the past I have created basic login forms in ASP.net by redirecting them to a page …

Member Avatar for crishlay
0
1K
Member Avatar for feoperro

Hi, Does anyone know how to add an [URL="http://ajaxload.info/"]ajax loader[/URL] to the [URL="http://jquery.bassistance.de/validate/demo/milk/"]remember the milk[/URL] validation example? So that while the backend is busy, it shows the gif, when it's finished, it hides the gif... Thanks, Ashton.

Member Avatar for hielo
0
423
Member Avatar for gambit_1607

hi i want to check off a checkbox while i'm typing. for an example if i'm typing "oranges are good" and i have oranges, apples, and blueberry under my check box. i want oranges to be checked of as soon as i type oranges in my phrase "oranges are good". …

Member Avatar for hielo
0
135
Member Avatar for feoperro

Hi, I'm new to JQuery and attempting to write a script to check username availability. My problem is that no matter what I type, I always get back "This username is already in use." JQuery source: [CODE] $(document).ready(function() { jQuery.validator.addMethod("usernameCheck", function(username) { var isSuccess = false; $.ajax({ url: "username_availability.php", data: …

Member Avatar for feoperro
0
2K
Member Avatar for dschuett

I have the following code doing ALMOST what I want. It shows an input field when the select value is "dropped". The problem I am having is that if I select "dropped" it will display the input field, but if i select a different value AFTER selecting "dropped" the input …

Member Avatar for Airshow
0
661
Member Avatar for feoperro

Hey there, Anyone know how to use an "onSuccess" method or something similar for "rules" in JQuery validation? [CODE] rules: { username: { required: true, minlength: 3 } } [/CODE] Not quite sure where it would fit or how it would work here - any help would be appreciated. 1000 …

Member Avatar for stewpot60
0
137
Member Avatar for pawarnilesh4u

I want to send another ajax request when one request is in process to get the status of first request. If I call both the request the second request gets blocked till the completion of the first request. Can anyone suggest a method so that second request gets processed in …

Member Avatar for pawarnilesh4u
0
350
Member Avatar for himit

Hi All, I am using JQuery in my solution and was trying to get the value of the cell which has been clicked. however, after all my searches i ended up with no exact solution. the most common solution i got was to select a row (by making multi select …

Member Avatar for himit
0
2K
Member Avatar for rom.

Jquery's .not() and :not doesn't seem to work in this particular scenario. Any corrections or alternatives would be REALLY appreciated! As you see from the code below, when you click on the green box, the purple box will either slide up or down. How can I exclude the checkbox from …

Member Avatar for rom.
0
228
Member Avatar for dschuett

I have an onclick that triggers ajax which calls a php script to pull data from MySQL. This information is then displayed in a div. The problem I am having is that sometimes pulling the data from MySQL takes 2-3 seconds, so the div is empty for about 2-3 seconds. …

Member Avatar for dschuett
0
400
Member Avatar for Luckychap

This is Jquery plugin which can be used to change the content a its place. Features: 1. Easy to use 2. Maintain changeability of Jquery Know Issue: 1. Can take html string also as input For example: html: [code=html] <div id="editable">I can be changed right here</div> [/code] javascript: [code=javascritp] $.('#editable').editAtPlace(function(newtext, …

0
359
Member Avatar for feoperro

Hi, Does anyone know how to control the sequence of JQuery $(document).ready functions? For example: [CODE] $(document).ready(function() { ... }); [/CODE] Only if this returns true then do: [CODE] $(document).ready(function() { ... }); [/CODE] Thanks

Member Avatar for feoperro
0
266
Member Avatar for dschuett

Hi everyone. I am still very much in the learning phase of JQuery and AJAX, so your help is VERY much appreciated! I have created a webpage that has two tables of invoice records, which are printed to the screen using a php while loop. The first table is a …

0
102
Member Avatar for Buppy

Hello, I have a script that prints out a lot of <tr>'s, each has a different id, let's say it's a number. What i am trying to get is when a user enters numbers in a certain textfield, named #idtext for example, it shows only those <tr>'s whose id numbers …

Member Avatar for Buppy
0
217
Member Avatar for ixcodxdx

Hey guys, I'm very new to web dev, I'm learning my way around it , I created an Jquery menu bar seeing some tutorial I inserted an photoslider to the page, the javascript of the photoslider is clashing up with the javascript of the Jquery menu bar and the effect …

0
30
Member Avatar for george61

Just a little problem with functions for previous and next images in a lightbox type of gallery created by me. The src of a given image is taken form href attribute of a link. I need the src of the next or previous image to be loaded dynamically maybe using …

0
93
Member Avatar for genzoman

I have an array of links that when clicked will show a corresponding hidden div element. Every link has it's own div. I'm trying to use an image to close each div as well (which isn't working yet). More importantly, when I click on the first and second links, two …

Member Avatar for Airshow
0
215
Member Avatar for sunny124

Hi guys, I am trying to display validation error messages when form validation fails. Currently it does display the error messages but then disappears straight away. How can I stop the page from refreshing when validation fails? I have return false in my code when validation fails but still having …

Member Avatar for sunny124
0
308
Member Avatar for lf.gene

[ICODE]<html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>PicNet Table Filter Demo</title> <script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js" type="text/javascript"></script> <script type="text/javascript" src="picnet.table.filter.min.js"></script> <script type="text/javascript"> $(document).ready(function() { // Randomly Create Data Rows for (var i = 0; i < 50; i++) { var tr = $("<tr>" + "<td>Value" + Math.floor(Math.random() * 500) + "</td>" + "<td>" + Math.floor(Math.random() * …

Member Avatar for diafol
0
269

The End.