Perfect!
On Apr 15, 1:57 pm, Eric Garside gars...@gmail.com wrote:
$.ajax({
type: GET,
dataType: json,
url: tUrl,
success: function(data){ GotNewData(data, 'custom string'); },
error: GetDataError,
complete: AjaxRequestComplete
});
On
You want an event fired when the user clicks the submit button.
Look here: http://docs.jquery.com/Events/submit#fn
That example should get you going.
Now there are two scenarios for you to choose from:
(1) When the submit button is clicked, you want to call an ajax
method, passing all the
As one of the authors of jQuery Reference Guide, I'd have to recommend
that you not buy it, especially if you already have Learning jQuery
1.3. Some of the information in the reference guide is outdated, and
most of it can be found elsewhere. I still haven't gotten my hands on
jQuery UI
jQuery in Action is another option... it's got tons of great
examples
On Apr 15, 5:32 pm, Karl Swedberg k...@englishrules.com wrote:
As one of the authors of jQuery Reference Guide, I'd have to recommend
that you not buy it, especially if you already have Learning jQuery
1.3. Some of the
With minor modifications I was able to achieve my goal with the sample
code that you provided. So that I do not feel compelled to ask this
question could you confirm or disconfirm whether the below statement
is correct.
In order to create a jQuery method from a JavaScript function not
encoded
I think compatability is important Karl. Also, thanks for the heads up
on the reference guide.
Cheers,
Calvin
On Wed, Apr 15, 2009 at 2:32 PM, Karl Swedberg k...@englishrules.com wrote:
As one of the authors of jQuery Reference Guide, I'd have to recommend that
you not buy it, especially
Thank you for the warning with regard to the use of the document.write
statement and the alternative format for writing text to an HTML
document. It will likely prove invaluable in the future.
Roddy
Hi, I have a couple of questions about selectors. I have the
following HTML:
=
Some a elements and input elements here.
...
...
a id=info-1-headingInformation Type 1/a
div
div
input class=cat id=first type=checkbox/label
for=firstFirst/label
/div
div
input class=cat id=mid
If you gave your buttons a common class you could do something like
this:
$(li.button a).click(function(event){
//show the link's parent, hide the parent's siblings
$(this)
.parent().show()
.siblings().hide();
return false;
});
On Apr 14, 11:49 pm, Dante danh...@gmail.com
Thanks for your advice Byron!
I was experiencing the same problem Bob described and your solution
worked perfectly.
BTW, using clone(true) didn't work in my case neither.
On Mar 18, 10:36 am, byron gexma...@gmail.com wrote:
In case anyone else stumbles upon this, I will give my solution to the
I need to do validation on an email address via AJAX, and it has to
happen cross-domain. I can get this to work fine using just jQuery's
$.ajax method, but not when I try to turn it into a validator plugin
method. As a validator method, it does the XHR call fine, and I see
the results I expect
Hi, I'm not sure if what I'm about to ask is really feasible, but
thought I'd at least try asking.
Essentially, I have a form using the JQuery Validation plugin, with a
few fields and a pretty basic set of validation rules. Nothing fancy
at all. I've set the location of form error messages using
or
$(#div).ajaxStart(function(){
$(this).fadeIn(fast);
});
$(#div).ajaxStop(function(){
$(this).fadeOut(fast);
});
$(#div).load(url)
fade is automatic
2009/4/14 Liam Potter radioactiv...@gmail.com
a callback function is something that runs after an action has been
completed.
Unfortunately, that did not work for me... I have tested with both
Safari4 and FF3. Any other ideas? Thanks, L
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/
TR/html4/strict.dtd
html
head
meta http-equiv=Content-type content=text/html;charset=UTF-8 /
link type=text/css
Superfish is great. The mouseout delay makes drop down menus more
usable. But submenus should disappear immediately when you rollover
ANY sibling. Currently, submenus only disappear when you rollover a
sibling WITH children (because the submenus have to change). If you
rollover an EMPTY sibling
I am trying to build a nice class heirarchy for a nested list menu
using the following html:
div
ul
li
ul
li
ul
li/li
its because
$('div ul.primary li ul')
selects *all* (not just the direct child) li's under the ul.primary,
and then looking at each first child ul and applying that
secondary class
On Apr 15, 3:28 pm, Darron darron.dri...@gmail.com wrote:
I am trying to build a nice class heirarchy for a
heres the function (it connects to wordpress database so i cant send a
url)
code
function getProductInfo(product_id) {
jQuery.post(
/wp/wp-admin/admin-ajax.php, {
action: getProductInfo,
On 4/15/09 2:27 PM, tatlar robertlnew...@gmail.com wrote:
I am using Jorn's awesome autocomplete plugin in one form field to
allow a user to quickly narrow down which station they wish to view
visit times for. However, it would be really cool to extend this so
that when the selection is
I have been using the form validation plugin with jquery 1.2.6. I
would like to use the new jquery version 1.3.2 but was wondering if
there is a replacement validation plugin for this version or if it
could be made to work.
Thank you.
Hi Tom,
Thanks for the reply. It is the former. I am perfectly comfortable
with parsing JSON formatted data.
I would be very happy to read what you have been working on.
Best regards.
On Apr 15, 4:47 pm, Tom Worster f...@thefsb.org wrote:
On 4/15/09 2:27 PM, tatlar robertlnew...@gmail.com
That's exactly what I was looking for, Ricardo! Thank you.
I suspected the code could be simplified using parent/sibling
selectors; I was just unsure how to do so.
On Apr 15, 6:38 pm, Ricardo ricardob...@gmail.com wrote:
If you gave your buttons a common class you could do something like
Um, powers that be, hello?
This issue remains unresolved - I still see January 21th, 2009 as
the most recent news item, when in fact when I click the RSS feed icon
next to it I find that the latest is actually This Week in jQuery,
vol. 4 dated 03 April 2009 15:25
Isn't it kind of important that
@all - thank you for your comments. What I've learned is 1) custom
attributes are referred to as DOM Expandos, 2) they can cause IE to go
into strict mode, 3) Developers often override the class or id of an
element to store data instead of using a DOM Expando, and 4) There is
a bug in jQuery
If you want to format a local date, . . .
var todayEl = document.getElementById(today);
todayEl.innerHTML = formatDate(new Date); // [1]
[1]http://www.jibbering.com/faq/#formatDate
This also worked, but produced a format very different from that
required by the context in which the date
i have an ajax backend onto a mysql table with about 25 million rows,
including three searchable indexed text columns. i want a form with three
text input fields, each with autocomplete.
1) if all fields are blank when the user starts to type into one of them
then normal autocomplete happens on
On Apr 15, 4:34 pm, sneaks deroacheee...@gmail.com wrote:
[posting order restored]
On Apr 15, 1:28 pm, dhtml dhtmlkitc...@gmail.com wrote:
On Apr 14, 9:34 pm, sneaks deroacheee...@gmail.com wrote:
hi! i am trying to use jQuery.post() to send name/value to a php
function which then
Thanks Tom! Digesting now feedback after checking it out. Much
obliged.
On Apr 15, 5:40 pm, Tom Worster f...@thefsb.org wrote:
i have an ajax backend onto a mysql table with about 25 million rows,
including three searchable indexed text columns. i want a form with three
text input fields,
Thanks Tom! Digesting now feedback after checking it out. Much
obliged.
On Apr 15, 5:40 pm, Tom Worster f...@thefsb.org wrote:
i have an ajax backend onto a mysql table with about 25 million rows,
including three searchable indexed text columns. i want a form with three
text input fields,
Nice summary, thanks. Here's some more potential food for thought:
http://ejohn.org/blog/html-5-data-attributes/
http://www.1729.com/blog/HtmlAnnotations.html
FWIW, in general I've steered away from using custom attributes and have
generally used id=name_123 (often), class with data inside
...what is wrong with just having:-
var todayEl = document.getElementById(today);
todayEl.innerHTML = formatDate(new Date);
document.ElementById has a bug in ie6 and ie7 that will return an
element with a name attribute of the same value. Use $('#today')
instead.
todayEl.innerHTML =
On 4/15/09 4:21 PM, Lance Speelmon lancespeel...@gmail.com wrote:
Unfortunately, that did not work for me... I have tested with both
Safari4 and FF3. Any other ideas? Thanks, L
try using only the style sheet supplied with the plugin. if keyboard nav
works then you can work from that back
hi garret...
here is the json responsei get:
{
product_id:03,
product_name:Sample shoe,
product_brand:Shoe Brand,
product_slug:slug3,
product_description:description3,
product_active:1,
product_type:shoe,
product_gender:youth,
the way i see it, there are quotes on the object side of the json
where there should be no quotes...
On Apr 15, 2009, at 6:24 PM, Dragon-Fly999 wrote:
Hi, I have a couple of questions about selectors. I have the
following HTML:
=
Some a elements and input elements here.
...
...
a id=info-1-headingInformation Type 1/a
div
div
input class=cat id=first type=checkbox/label
for anyone having similar problem heres how i resolved it:
function getProductInfo(product_id) {
jQuery.post(
/wp/wp-admin/admin-ajax.php, {
action: getProductInfo,
'cookie':
MorningZ's right. To simplify things I'd do this:
$('div')
.find('ul').addClass('primary');
.find('li ul').addClass('secondary')
.find('li ul').addClass('tertiary')
.find('li ul').addClass('quaternary')
.find('li ul').addClass('quinary')
cheers,
- ricardo
On Apr 15, 4:28 pm,
Supposing I have this:
jQuery.fn.myPlugin = function(){
//
};
jQuery.fn.myPlugin.myMethod = function(){
// ?
};
$('#test').myPlugin.myMethod();
How can I access the current object or element collection from inside
jQuery.fn.myPlugin.myMethod? Is it possible at all?
thanks,
-
On Apr 16, 10:15 am, Josh Powell seas...@gmail.com wrote:
@all - thank you for your comments. What I've learned is 1) custom
attributes are referred to as DOM Expandos,
No, expandos are custom DOM object *properties*, HTML elements have
attributes.
URL:
Hi Karl,
Yes, I understand filter is IE-proprietary. That's why I try to use
jquery selector to get the filter div list instead of
div.style.filter. But it seems jquery selector cannot handle this
well. As the html is created by M$ mshtml which has some filter styles
in the page.
What I try to
This is possible, and makes sense. I'll take a look tomorrow (the main
template for this site includes jQuery, and we include these scripts
on forms, which is where things got mixed up).
Thomas
On Apr 15, 4:55 pm, Eric Garside gars...@gmail.com wrote:
Upon further inspection, I'm not quite
Hi All ,
Can u please tell ,
How to implement in jquery, php,,
Insert record after pressed the CTRL+S in keyboard ,
Thanks
--
உங்கள் நண்பன்
பரணி குமார்
Regards
B.S.Bharanikumar
POST YOUR OPINION
http://bharanikumariyerphp.site88.net/bharanikumar/
101 - 142 of 142 matches
Mail list logo