I was recently hired to work on mobile Ajax applications. This is the first time I do this, as I always worked on usual Ajax sites on common web browsers. I'd need a framework and possibly a toolkit that works both on IPhone and Android... capable of abstracting the mobile browser the same way jQuery does with desktop browsers.
I've se...
I'm using jQuery.
This is my second post to make my old question more clear.
I have made an Ajax request using the jQuery $.ajax function to a PHP script and that PHP script returned this JSON object and when i tested with link text it says it's valid.
and i'm treating this JSON response with the success fonction
The php script is
$...
I'm using the JQuery UI Dialog plug-in. Everything works great except for where the "resize" grip icon is being placed. It is in the Left-Bottom corner of the dialog instead of the Right-Bottom corner. I rolled the theme using ThemeRoller as JQueryUI.com. Any ideas???
...
$('#btnSelectAll').click(function() {
$('.inputchbox').attr('checked', true);
$('fieldset').find('img').hide(); // datepicker hide
});
//Cancel will deselect all checkboxes and hide submit and Cancel Buttons
$('#btnCancel').click(function() {
$('.inputchbox').attr('checked', fals...
Hi all,
I'm doing this :
source.offset({ top: top + 10 + (current)*60 , left: left + 10 });
What I would like to do is to animate the move. So I've done :
source.animate({left: left + 10, top:top + 10 + (current)*60}, 500, function() { // Animation complete.});
But it's not going to the right place. Although with the first vers...
All,
I am trying to get JQueryUI tooltip and Tablesorter plugin to work together. I am unable to display the JQueryUI tooltip when I hover on the names but the tooltip won't appear after I click the "Reset Sort Order" link.
How can I make sure the tooltip is displayed after I click the "Reset Sort Order" link. The tooltip should also b...
if a radio button is selected, i want a div to either show or hide. here is the code:
// add event to hide unimportant details when var is disabled and show when enabled
$('#companyVar' + companyVarID + 'Enabled').change(function() {
$('#companyVar' + companyVarID + 'Unimportant').fadeIn("slow");
});
$('#companyV...
I am working on an HTML form that posts the data to a URL. I am also using Jquery to get query string parameters and add them to the data I post to the URL. Is there any way to protect against XSS attacks? Any HTML encoding plugins or built-in functions?
...
hello - i've made an image slide show which works with either a next button, or if you click on the right or left of the screen it shows the next slide.
problem is when i click the next button the click bind also fires which means it move forward 2 slides.
How can i get the click bind to ignore the click if th next button is clicked?!
...
What if I request the URL http://www.google.com via AJAX, for example and in the on successfunction I just wanted to display the I'm feeling lucky button in some div?
For example
$.ajax({
url: 'www.google.com',
success: function(html) {
$('div').html(html);
}
});
this is for displaying the whole page, but I want o...
Ok, I'm not 100% sure what I'm doing wrong here. Maybe I just need a second pair of eyes to reveal the error of my ways. I'm sending a JSONP request using jQuery from one domain (https://customerhub.net) to a PHP script on my domain (https://dankennedy.com) and getting a response from that script. I know the request is working because...
Introduction:
Hello Everyone,
I have been looking for days for a way to extend the attached JavaScript code so that it will work as I need it to and have asked on various coding website but nobody seems to know the answer so in a last chance effort I have come here in the hopes that someone will be able to assist me.
About the script...
I am a beginner for web designing .I want to learn most useful method used in web designing world,please tell some tutorials for learn creative website using photoshop,css ,html,......
thanks.
...
I'd really like to take all of the html in a div (contains many other divs, form elements, etc), urlencode it (maybe) and then do an ajax post to a server side handler so that I can save the exact state of what the user is seeing.
I would then like to be able to take that string that I've saved in a database and send it back in response...
How to get Textarea value in jquery, if I am using
<form name="myform">
<textarea name="msg" id="msg"></textarea>
</form>
This syntax is not working properly
var text = $('textarea#message').val();
can anybody tell me about the things ?
...
Hello
I want select all items that haven't an IMG tag and append it. I can do that:
How can i do that?
<div class="test">
<div class="someDummydiv"></div>
</div>
<div class="test">
<div class="someDummydiv"></div>
<img src="try.gif" />
</div>
<div class="test">
<div class="someDummydiv"></div>
</div>
...
I have a table and I wish to extract the html from a specific row without a specific class.
So for example with the row.
<tr>
<th class='a'></th>
<th class='b'></th>
<th class='c'></th>
<tr>
I would hope to get a result like
<th class='b'></th>
<th class='c'></th>
I've attempted a few variants of
var newTr = $('#table01 tr:nth-c...
Hi everyone,
I want to use in my website and I want the tooltip to "chase" after the mouse. That is the tooltip balloon should display next to the cursor and remain next to it even if it moves.
What's the best method to do so?
Thanks!
...
Overflowers':
I'm using Zend, and doing an Ajax post to a controller. I can determine in the
Controller if it is a Ajax call using isXmlHttpRequest()..
However.. I can't find the value for my Posted JSON encoded data any where ?
I guess Zend strips it out, but its frustrating .. anyone have any idea where
the Ajax posted values go?
...
How can I manipulate dates so that they show up as "just now"... "5 mins ago"... "3 hours ago"... "June 22nd, 2010 at 1:45pm" in similar fashion to how SO displays the dates next to the answers/comments to each question?
To further complicate matters, the dates stored in my database are in GMT time (which is fine), but I want them to a...