Hi there,
If someone could assist me please. I'm doing a jquery Ajax post, for some reason the Json object isn't working so just returning a php array instead
$.post
(
"classes/RegisterUser.php",
$("#frmRegistration").serialize(),
function(data)
{
alert(data);
}
);
The data is returned to Javascript 100% as
...
How to identify the x axis and y-axis of particluar element using jquery. Like we use pageX and pageY to identify the mouse pointer's position.
...
Select these:
<img src="...">
but not:
<img />
...
hello.
I'm trying to manipulate a jQuery object to make the first item the last, second the first, third the second, and so on.
With an Array this would be simple:
myArray = [ "a", "b", "c", "d", "e" ];
myArray.add( myArray.shift() );
// done.
How can I do this with a jQuery object?
myObject = $('.myDiv').children();
myObject.nowWh...
Hi,
I am trying to create an html element with one jquery plugin then pass the jquery object created to another plugin for more modifications.
for example : 1 plugin would create the object the second one would add css ( i know this isnt the best way to do things) but a 3rd plugin calls the first one then the second one.
I hope my descri...
I have several objects on a page and I want to perform an operation using jQuery only on some of them - the ones that don't have a specified attribute. So:
<li style='...'>some text</li>
<li style='...'>some other text</li>
<li>some very diffrent text</li>
and in javascript I would have:
$('li[style]').hide();
that would hide all e...
I am using ASP.NET checkboxlist control. On the page I have a hyperlink. On its click blockUI plugin displayes a div which contains the checkbox list control.
The state of the checkboxes is always unchecked on calling blockUI again. The checkboxes are always unchecked evenif they were checked before on the page.
$("#multipleIA a:contai...
I have a registration form and am using [jQuery][1] [Ajax][2] to submit it.
Here is the jQuery Ajax code:
$(document).ready(function() {
$("form#regist").submit(function() {
var str = $("#regist").serialize();
$.ajax({
type: 'POST',
url: 'submit1.php',
data: $("#regist").serialize...
Hi Gurus,
I have a time tracking sheet application. In this I will display dates in a week on X axis (on top) and Tasks on Y-axis (downwards). As shown below, I will give a @ icon after every text box for entering comments against each entry.
****************************************************
# | Sun | Mon | Tue | Wed | Thu | ...
I am looking for a JavaScript based carousel such as absolute website. The main part that I am interested in is that it slides in a similar way to the main site flash, highlighting one item/image at a time and items are in a line.
Plug-in for any kind of library is welcome but indeed I would prefer jQuery based one as I have used it for...
I have wildcard dns on the server and dynamic subdomains working properly on the server. However there is a problem with the Ajax file processing through jQuery.
Below is the jQuery Ajax code:
$.ajax({
type: 'GET',
url: 'process.php',
data: 'grpid=' + group_select.val(),
success: function(data)
{
$('#grpsrv')....
Hi guys..
I have some problem while using Jquery UI draggable with resizable on the same element, e.g a div element.
when i apply both draggable and resizable on the same element, it produce a stack of 3 divs with one draggable and other 2 inside that dragglable div. i dont know whats wrong with it. I have tried to follow the instructio...
i have to objects / elements. one is [ 4 images with different ids ] and [ a div with id container ]....
i want to make images dragable and alert the id of image if it is dragged and dropped properly inside container div.......
and then send its value to mysql with php and jquery $.ajax
...
i have such a function when it is invoked a dialog is created, after the dialog is closed and the button is clicked again, the dialog doesn't showup
$("#Button").click(function() {
$.ui.dialog.defaults.bgiframe = true;
$("#box").dialog({
modal: true,
...
This is the crucial code:
var ajaxCallTimeoutID = null;
$(document).ready(function() {
$("input[id^='question']").live('keyup',function(ev){
id=this.id.substr(8);
if (ajaxCallTimeoutID != null)
clearTimeout(ajaxCallTimeoutID);
ajaxCallTimeoutID = setTimeout(subjectivecheck(id), 1000);
});
});
However,
subjectivechec...
How can I get the value of textbox into label when I click on a button using jquery.
I know how to write the click event in jquery. But when I write something like
$('#labelID').val() = $('#textboxID').val();
I get an error saying 'cannot assign to a function result'
Please help
...
Hi clever people,
This answer was almost exactly what I needed.
After adding that fn, inline, at the top of my jQ code, I wrote this jQ lower down:
$(":contains(|)").each(function() {
replaceText('|', 'X');
});
This works, finding all pipe chars across the entire doc and replacing them with X.
However I wanted to replace all pi...
I've looked through the Related Questions section and I can't find an answer to this. I'm using PHP + Jquery. I added <input type='file' name='file[]' size='20 />' dynamically, using Jquery. However, when I Post the data, and use print_r($_POST);, I get the other elements that were there before I dynamically added the Jquery Code, but no...
I have two textboxes. One is a normal textbox and another 'input type="file"'
when I click on the button I want a label to be updated with the textbox value and it's href pointing to whatever I have attached to the file type.
How can this be done using jquery.
Googled a lot but din't find any answer
...
Hello,
I'm getting a json string with jQuery and then for each value, I add a checkbox.
function dateClick(url){
$.getJSON(url,
function(data){
var row = $("#HourSelectionTable tbody").html();
$("#HourSelectionTable").empty();
$("#HourSelectionTable").append(row);
$.each(data, function(i,data){
...