i have the following script
<select id="select1">
<option value="1">1day</option>
<option value="2">2day</option>
<option value="3">3day</option>
</select>
<select id="select2">
<option value="1">1day</option>
<option value="2">2day</option>
<option value="3">3day</option>
</select>
and...
I'm trying to query an element and its children to find ID's that begin with a particular string.
var foundIDs = containerElement.find('[id^=something]').andSelf().filter('id^=something');
The find() method only searches descendants so I thought I'd try andSelf(). However, andSelf() does not take a selector. This means that the cont...
I am getting the append issue with this code. In my xml i go 2 no. of "listgroup" and jquery print propelry. but within the earch "listgroup", first group contain 6 points and second group contain 6 point. these 2 section has to print separately to 'ul' element.
But my problem is first time while it print itself both 12points in first u...
I'm using the qTip jQuery plugin to create dynamic tool tips. The tooltip sends an id to a cfc which runs a query and returns data in JSON format.
At the moment, the tooltip loads with the following:
{"COLUMNS:" ["BOOKNAME","BOOKDESCRIPTION"["MYBOOK","MYDESC"]]}
Here's the jQuery
$('#catalog a[href]').each(function()
{
var gi =...
Hi
How can i access the Instance of Boxy within its contents. I have a Link that loads a form in Boxy. Its displaying the boxy popup and its working fine. Now i want to access the instance of the boxy from form submit function. How can i do this. I have the code below.
$('a.boxy').boxy({
modal:true,
sho...
Hey,
I'm helping out a friend with a website he's developing and we are having trouble with preloading images on request. Basically, when the user clicks on a thumbnail of the product a <div> slides down that includes a scrolling carrousel of large images. In total there are about 20MB of images that could be loaded in (if you did them ...
My idea is to press a button that takes me to a web page.
I've created a thing that dynamically creates a button and an anchor tag.
When the button is clicked, I want it to "click"/fire up the anchor tag..
I've uploaded a demo to my site, when you try it out just leave everything as it is.
Click the first button then the add button righ...
Here's another clichéd problem, but I couldn't find an exact match to this.
I haven't posted any source here, as you can freely see all that is there on the link. :-)
Statement:I have a web page at http://agrimgupta.com/antaragni/
Disclaimer: Pardon me for the pathetic coding on that page. ;-) It was done on a very short interval. Impr...
Hi guys.
I have a function when the page is ready.
<script>
$(function(){
function do_ajax(){
do some stuff
}
});....
This works great on that page. Then I make a .post call and load the response into a div. The response has a
<script>$(selector).click(function(){ do_ajax(); });</script>
with the result. I get an erro...
I have 3 sortable UL's and a simple jquery/javascript
<ul class="sortable" id="menu1">
<li id="id_1">whatever</li>
<li id="id_2">you</li>
</ul>
<ul class="sortable" id="menu2">
<li id="id_3">wanne</li>
<li id="id_4">put</li>
</ul>
<ul class="sortable" id="menu3">
<li id="id_5">in</li>
<li id="id_6">here</li>
</ul>
$(function() {
$(...
I am writing a small jQuery plugin to update a set of Divs with content obtained using Ajax calls. Initially, let's assume we have 4 divs. I am doing something like this:
(function($) {
....
....
//main function
$.fn.jDIV = {
init: function() {
...
...
for(var i = 0; i < numDivs; i++...
I'm attempting to use 'jQuery Validate' on a form that requires an email address plus either all items of a shipping address completed or none at all.
Using the sample provided by the solution to this question: jQuery Validate - “Either skip these fields, or fill at least X of them”, I have been able to successfully solve the validation...
I'm developing a form with PHP and jQuery.
Here is the link:
http://www.yamaha-motor.com.pe/extreme/php/yamaha/registro/FrmRegistro01.php
It works fine on Firefox but not on IE.
What can you advise me??
Thanks
...
I wrote the following (part of a jQuery plugin) to insert a set of items from a JSON object into a <ul> element.
...
query: function() {
...
$.ajax({
url: fetchURL,
type: 'GET',
dataType: 'jsonp',
timeout: 5000,
error: function() { self.html("Network Error"); },
success: function(json) {
//Process JSON
$.each(j...
I am just starting out with writing jQuery plugins. I wrote three small plugins but I have been simply copying the line into all my plugins without actually knowing what it means. Can someone tell me a little more about these? Perhaps an explanation will come in handy someday when writing a framework :)
What does this do? (I know it ext...
I have a JavaScript class that has a method:
function someClass() {
this.someMethod = someClass_someMethod;
}
function someClass_someMethod() {
// make an AJAX request
}
The problem is that someClass_someMethod() needs to return the value of the AJAX request.
I'm using jQuery's $.getJSON() method to fetch the data. The data ...
I am trying to just add a reference to jquery in my ASP.NET project, and get this when I do: "Error updating JScript IntelliSense ... Object doesn't support this property or method."
I read that I may have to reference vsdoc, but can someone help me with this?
...
Hello! I am very new to javascript and ajax/jquery and have been working on trying to get a script to open and close the drop menu on click rather that hover.
The menu in question is found on http://www.gamefriction.com/Coded/ and is the dark menu on the right side under the header. I would like it to open and close like the other menu ...
I am creating a background color animation with jQuery and the color animation plugin
http://plugins.jquery.com/project/color
How do I have a function stay in a loop repeating itself each time it has finished running? I tried this but it did not work :
function colorLoop(){
$("#window")
.animate({ backgroundColor: "orange" }, ...
JQUERY, div with a fixed height (with a scrollbar) how to animate until it grows to no longer need a scroll bar?
I have a div on a page with a CSS height:200px setting, which makes the DIV have a vertical scroll bar, which allows the user to scroll through a bunch of text.
I would like to animate the DIV to expand in height until all c...