Hi all,
I have a user registration form. I am doing server side validation on the fly via AJAX. The quick summary of my problem is that upon validating 2 fields, I get error for the second field validation. If I comment first field, then the 2nd field does not show any error. It has this weird behavior. More details below:
The HTML, JS...
I have a table where all of the cells are INPUT tags. I have a function which looks for the first input cell and replaces it with it's value. So this:
<tr id="row_0" class="datarow">
<td><input class="tabcell" value="Injuries"></td>
<td><input class="tabcell" value="01"></td>
becomes this:
<tr id="row_0" class="datarow">
...
I am having a couple problems trying to manually insert some jQuery features into a wordpress theme. I have a lightbox wordpress plugin that is jQuery based that is working fine.
So if I manually load the jQuery script into wordpress the functions seem to work but instead of say a slide being hidden it is revealed when it should still ...
In Windows Forms there's a BeginUpdate/EndUpdate pair on some controls. I want something like that, but for jQuery.
I have a div, that holds a div. like this:
<div id='reportHolder' class='column'>
<div id='report'> </div>
</div>
Within the inner div, I add a bunch (7-12) of pairs of a and div elements, like this:
<h4><a>Hea...
I am having problems with jQuery Ajax and PHP
I have my php file set up to echo the data I am gathering from a mysql database. I have verified that the database is returning something and that the string at the end of the function actually contains data.
What is happening though, is that it looks like the php echo is happening before ...
i have a parent window and a child window. in javascript, i want a function in child window to be called whenever the parent window loads a new page. i'd like to use something similar to jQuery's $(document).ready() so that I don't have to worry about whether the parent is done loading yet - but ready() only appears to fire when the wind...
Hi,
This function is called when an up/down arrow is clicked to slide hidden div. If the div is hidden, the arrow points down and changes to up when the div is shown. If the div is shown, the arrow points up to hide div and changes to down when the div is closed. I just wanted to know if there was a more efficient way of doing this or...
Anyone else ever had trouble with jqTouch and not being able to use all the animations? My project only seems to work using Flip to switch between the pages (well Divs actually).
...
Where I can find a complete list of all jQuery supported events (like click, mouseup etc) with some explanations when they are triggered? I am looking for those that can be binded:
$('#foo').bind('click', handler);
For example I just found out by accident that there is paste event but I can't find any references to it anywhere in thei...
Why doesn't $("#RadioButtons:checked").val() - id selector - work in Internet Explorer but $("input:radio[name='RadioButtons']:checked").val() - name selector - does?
<input name="RadioButtons" id="RadioButtons" type="radio" value="1" checked>
<input name="RadioButtons" id="RadioButtons" type="radio" value="2">
<script>
alert($("#Rad...
I have this JQuery function - that nearly works (so far!) BUT the alerts are duplicated, each appears twice any clues/ideas please
$(function() {
$("#col1, #col2, #col3").sortable({
connectWith: '.column',
update : function () {
serial = $('#col1').sortable('serialize');
serial1 = $('#col2').sortable('serialize');
serial2 = $('#col3').s...
Problem: jqGrid with subgirds. I want to disable the expand/collapse functionality for some rows of the main grid.
...
hi_all()
I have a problem with parsing http response.. I try send some values to client
>>>>return HttpResponse(first=True,second=True)
when parsing:
$.post('get_values',"",function(data){
alert(data['first']); //The alert isn't shown!!!
});
what is the right way to extract values from httpresponse
ma...
I would like to render error containers invisible and show them only when errors appear (and hide again when they disappear). What is the easiest whay to implement such behaviour?
...
I'm looking for a way to trigger a resize of a jqGrid by dragging the mouse.
...
<?php
global $user;
$userId = $user->uid;
/* start with default */
$myresult = "";
/* All Includes - start */
include_once('db.php');
include_once('valid-scripts/validateData.php');
/* All Includes - end */
/* Build All required Variables - start */
$alias = $_GET['alias'];
$product = $_GET['product'];
$pr...
I have a layout roughly as follows:
<div id="foo">
<!-- a bunch of content -->
</div>
<div id="thumbnails">
<div class="thumb-content1"></div>
<div class="thumb-content2"></div>
<div class="thumb-content3"></div>
</div>
<div id="content-1">
<!-- some text and pictures, including large-pic1 -->
</div>
<div id="...
Trying to make a simple toggle menu, and I can't seem to hide/show the sub menu using this bit of jQuery:
$(".topic news").mouseup(function(){
$(".feed groups").hide("fast", function(){
$(".feed messages").hide("fast");
$("ul.feed news").toggle("fast");
});
});
Here is the corresponding HTML:
<div class="topic n...
I'm working on a script, and a small part of that involves taking a canvas and converting it to a downloadable image. To do this, I do:
var thumb_jpeg = thumbnail.toDataURL("image/jpeg");
$("#" + options.dest).attr('src',thumb_jpeg);
...where thumbnail is a canvas tag and options.dest is the name of an img id.
This code works perfec...
Hello all,
I have a gridview control with delete asp:ImageButton for each row of the grid. What I would like is for a jquery dialog to pop up when a user clicks the delete button to ask if they are sure they want to delete it.
So far I have the dialog coming up just fine, Ive got buttons on that dialog and I can make the buttons call s...