On Sep 27, 2008, at 12:24 AM, Wayne wrote:
I was trying to put livequery in place on the site, but it seems to
attach to pre-known events, like click, instead of new events, like
editable.
Brandon would be the correct person to answer this. He knows the
internals on livquery the best.
On 27 Sep., 01:06, Dan Baughman [EMAIL PROTECTED] wrote:
Is looking at the noncompressed code the best way to figure that stuff out
with out having to ask?
The best way is reading the documentation:
http://docs.jquery.com/UI/Tabs
*But*: In this special case you wouldn't have had luck, because
@Andy, yes there are more resources out there. I don't rely on those
resources so I need to find them. This somewhat distracts my train of
thought at the time when if I mosied on down to the jQuery docs I
would have completed my task a lot quicker, I want to be able to rely
on the jquery
Hi,
I use exactly the same code as you mentioned:
$(document).ready(function() {
$('#registration').ajaxForm({
dataType: 'json',
url: '/registration/check/',
success: function(data) {
alert(data);
}
}
);
But I do not want to show labels by
On Sat, Sep 27, 2008 at 3:35 AM, debussy007 [EMAIL PROTECTED] wrote:
Hi,
For a lot of asynschronous calls, like the effects, jQuery provides
completion callbacks which are very useful.
Unfortunately it doesn't provide completion callbacks for events.
How am I able to know when an event
ricardobeat ha scritto:
As of now www.jquery.com and docs.jquery.com are loading faster than
ever, and I'm in Brazil!
I'm from italy, docs.jquery.com loads in about a minute:
http://lab.gianiaz.com/docs.jquery.com.jpg
--
gianiaz.net - web solutions
p.le bertacchi 66, 23100 sondrio (so) -
Thanks, I tried that but it doesn't seem to work. Drupal applies the
classes required to required form fields, and they're picked up
correctly. But any rule I add doesn't work at all. Even a single rule
to make an extra field required doesn't get picked up.
Would it help if I setup an example of
Whats comes closest to that is the validation plugin:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
You can pass messages to the internal showErrors method:
http://docs.jquery.com/Plugins/Validation/Validator/showErrors
Jörn
On Sat, Sep 27, 2008 at 11:56 AM, Jiří Němec [EMAIL
Yes, an example would help a lot.
Jörn
On Sat, Sep 27, 2008 at 12:45 PM, Jeroen Coumans
[EMAIL PROTECTED] wrote:
Thanks, I tried that but it doesn't seem to work. Drupal applies the
classes required to required form fields, and they're picked up
correctly. But any rule I add doesn't work at
Next idea, is there some jQuery API to trigger/display an error label
associated with a specific form field?
J.
2008/9/27 Jörn Zaefferer [EMAIL PROTECTED]
Setup ajaxForm with dataType:json. Then your success-callback will
get a parsed JavaScript object as the first argument.
Hi all,
I'm really excited about jQuery, just as all the rest here. I've found
out that it is really easy to create an animation. However, one day I
stumbled upon the following question: is it possible to run one
animation infinitely (repeat one statement the whole time, in my
case).
Is that
All, new here and just wondering if anyone would pick up the
challenge ;)
I am a poor coder, I tried but can't figure it out. The thing is that
I implement various jquery stuff in some projects and I feel
comfortable with that. I do not want to mix mootools and jquery
library, so it's all or
This is the concrete situation for which I cannot find a solution:
I have several 'select' elements which contain information like: country,
state, town.
select size=1 name=country[...]/select
select size=1 name=state[...]/select
select size=1 name=town[...]/select
When a country is selected, I
Hi, everybody
I have some questions for the remote option in asp.net page, If I
have some value need to be verified in order to make it is unique, for
example:
.
.
userName:{
required: true,
remote: verify.aspx
}
about the verify.aspx, I don't know how to output the result. I
That could be easily reduced to this:
$.fn.disable = function() {
return this.attr('disabled', true).addClass('disabled');
}
$.fn.enable = function() {
return this.removeClass('disabled').attr('disabled', false);
}
On Sep 26, 2:28 pm, livefree75 [EMAIL PROTECTED] wrote:
I actually
I would have thought that jQuery would repeat the above process if I
created another div with a class of box below the previous one.
I can understand that, since it's the way CSS rules work. If you
declare a CSS rule p.big { font-size: 200% } then any p with class
big will have bigger text no
Hi Mike and all
I've read the documentation on uploading a file via the form plugin
and JSON, but I simply can't get it to work. The form plugin dies as
soon as I submit it... no error is thrown, but it posts the whole page
like a normal form and no response is given.
Here's my form code:
form
It should be noted that the div id=add-m-i portion of the form is
cloned and inserted when a user clicks a link. I think that part of
the problem is that the plugin isn't detecting the value of the file
input even though it is present in the data (seen via the console).
On Sep 27, 11:06 am, Adam
function selectTown(country, state, town) {
$('#country').val(country);
$('#country').change(); // - this will load the states in the select
// once the country has been selected
// and select element containing states has been populated, then do
//
Hello:
I've added some features to Josh Bush's Masked Input plugin, but I
can't seem to get in touch with him via his website.
I've added a suggested setting, which suggests a character that would
be used in a character position in the field, e.g.
(.monthNumber).mask(99, {suggested: 0} ) will
Hey guys,
I have problem and my programmer isn't around to help me :(
Look at main page:
http://www.mycitysolutions.com/
I used $('a.view').fadeTo('fast', 0.33) to fade out images on load and
$('a.view').mouseover(function () {
$(this).fadeTo('normal', 1);
});
$(a.view).mouseout(function () {
I'm trying to make script that has faded image at start 30%, after
hover sets opacity to 100% and on mouse out puts it back to 30%.
so i did this:
$(document).ready(function(){
$('a.view').fadeTo('fast', 0.33);
If you used each then it should repeat for each DIV with the class of
box on the page.
$(document).ready(function(){
$(div.box).each(function() {
$(div.box *).wrapAll('div class=inside/div');
$(div.box).append('div class=tl/div'+'div
class=tr/div'+'div class=bl/div'+'div
No, a hard loop like while(true){} will not do you any good in any browser,
now or in the foreseeable future. I doubt if it will work in Flash or
Sliverlight either.
It doesn't crash your browser, it merely locks it up. After all, it *is* an
infinite loop. Most browsers will eventually put out a
So i'm at the hotel bar of the conference's hotel for this weeks
event, i'll be running some items on my blog with pictures and some
talk of tomorrow's jQuery Event and then Mon-Wed's AJAX Experience
Today is just a travel and relax day as I flew up from Florida this
morning and am awaiting my
Hi all, is there some way how to control form submittin within succes or
error calback functions within beforeSubmit callback function?
In my my code I validate form data at client side, when form is valid I send
data to server by callback function beforeSubmit.
Server does another validation
On Sep 8, 10:38�pm, Jayzon [EMAIL PROTECTED] wrote:
What I'd like to do: If an input filed is focussed, a price should be
calculated. To keep the script as efficient as possible, I want to
travel up from the input field to thecellabove it (i.e. one row up,
second or thirdcellin that row). My
Ifixer try this
$('a.view').css('opacity',0.33);
$('a.view').hover(function() {
$(this).stop().animate({
opacity : 1
}, 600);
},
function(){
$(this).stop().animate({
opacity : 0.33
}, 800);
});
Diego Valobra
--- Sab 27/9/08, eewan
was my last mail sent?...
On Sep 27, 12:16 pm, Eric C [EMAIL PROTECTED] wrote:
Hello:
I've added some features to Josh Bush's Masked Input plugin, but I
can't seem to get in touch with him via his website.
I've added a suggested setting, which suggests a character that would
be used in
Thank you very much - it worked like charm.
I'll try to understand every step of the way :)
On Sep 27, 7:00 pm, diego valobra [EMAIL PROTECTED] wrote:
Ifixer try this
$('a.view').css('opacity',0.33);
$('a.view').hover(function() {
$(this).stop().animate({
opacity : 1
why dont you do the checks before submit?
Example: Inside submit function...
make sure you got a div to display errors:
var err = jQuery('#error'); //div name=error id=error
form.submit(function(evt) { //submitting the form
//then check to see if inputs are correct...
I am getting started with jQuery and I think I understand the basics.
I want to get into ajax and while I can communicate with the server I
don't know exactly how to structure my application so that everything
fits together. What happens is that I would try to apply effects to
elements that don't
Im trying to integrate a comment system using jquery into my project
but it doesn't work I need some help finding where the error could be:
javascript:
script type=text/javascript
$(document).ready(function() {
jQuery('#newComment').after('div id=error/div');
You'll want to look into the Live Query plugin:
http://plugins.jquery.com/project/livequery/
On Sep 27, 2:55 pm, silk.odyssey [EMAIL PROTECTED] wrote:
I am getting started with jQuery and I think I understand the basics.
I want to get into ajax and while I can communicate with the server I
Hi
I have some problem to re-bind after adding data to a page using append and
a click-function, never used that before!
If I add one textTag that one can use the removeTag but if I add more
then one textTag I get alla the alerts test on the first add and the
rest gest none??
Some advise
hmm, I just found out that if I use after insted of append, things are
working...
like this:
$('#theTags').after(textTag + ' a href=\/text/removetag/tagid/' + i + '\
id=\removeTag\ class=\underline\ x /a ');
how to explain that?
/ johannes
--
View this message in context:
I am stumped. I have nested unordered lists. I want to attach a click
event to all the list items that do not directly contain an a tag.
Attach a click event to:
liList item without link/li
Do not attach click event to:
lia href=Link 1/a/li
I have this code which attaches the event to both
So it could! Thanks!
On Sep 27, 9:59 am, Scott González [EMAIL PROTECTED] wrote:
That could be easily reduced to this:
$.fn.disable = function() {
return this.attr('disabled', true).addClass('disabled');
}
$.fn.enable = function() {
return
dunno if there's a simple jquery way of doing it, but you could do:
$('#LHNav li').each(function(){
if ($(' a',this).length==0) {
//no A href, add it
} else {
//do something else
}
});
flycast wrote:
I am stumped. I have nested unordered lists. I want to attach a click
try this plz
$(document).ready(function() {
$('a.view').hover(function() {
$(this).stop().fadeTo ('normal', 1);
}, function () {
$(this).stop().fadeTo ('normal', 0.33);
});
});
eewan wrote:
I'm trying to make script that has faded image at start 30%, after
hover sets
Hi,
All my controllers which are located in the default module extends
'MyZend_Default_Controller_Action' which extends
'MyZend_Default_Common_Action' which finally extends Zend_Action_Controller
When I do a request for the main page (IndexController/indexAction), the
scripts executes once the
Hi, you can try the .filter(fn) method:
$('#LHNav li').filter(function() {
return !$(this).children('a').length;
}).bind('click', function (){...});
--
Bohdan Ganicky
append() == add inside
after() == add after
-
Suppose the following plain HTML:
div id=theTags
Content inside div
/div
-
append()
$('#theTags').append(textTag + ' a
Something wrong there. Loads in about 5 seconds here, sometimes
faster. Maybe it's a traffic issue between the USA and Europe?
On Sep 27, 6:36 am, Giovanni Battista Lenoci [EMAIL PROTECTED]
wrote:
ricardobeat ha scritto: As of no.jquery.comand docs.jquery.com are
loading faster than
alas, it is very likely a traffic issue. Did you notice one of the
requests that took 17 seconds to complete is from google-
analytics.com ?
On Sep 27, 9:12 pm, ricardobeat [EMAIL PROTECTED] wrote:
Something wrong there. Loads in about 5 seconds here, sometimes
faster. Maybe it's a traffic
Hello, I want to reduce the header calls for a flash file used
repeatedly on a page. There are 24 HTTP requests for a file that is
already downloaded.. So My question is how would I call it once and
then not again for the rest of the page?
the code area is like this
ex.1)
src: (p.path ||
i have built a simple add/remove chapter form. when add new chapter
clicked; ajax get fired, retrieves php file, and appends new chapter. newly
appended chapter is a li added to ol#append-chapter. the script also keeps
track of chapter count and displays current chapter count in h4.
issues:
1.
Hmmm. This doesn't seem to relate to jQuery. If this is Zend-related,
your best bet would be the Zend support forum.
Rey...
debussy007 wrote:
Hi,
All my controllers which are located in the default module extends
'MyZend_Default_Controller_Action' which extends
Attach a click event to:
liList item without link/li
Do not attach click event to:
lia href=Link 1/a/li
How about this?
$(li).not($(li:has(a))).click( ... )
the following is the example taked from
http://docs.jquery.com/Traversing/siblings#expr;
The third li in the first ul does not colored with red in my FF3.0.3 and IE6.0
I supposed this is a bug.
by the way, the style in IE6.0 is ugly
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
Hi All... Great to be here...
So, I've finally managed to get my some lumbering code I pieced
together to work with FF3.
Doesn't do a thing in IE7. I know I'm not giving much to go on though
I would love to hear that other are having similar problems before I
attempt to be clearer. Many thanks
Hi,
Firstly, excuse my newbness if I am asking a stupid question.
I have a click function on a list span that scrolls down to the top of
the list to make sure the about to be revealed content is in the
viewport and then shows the content.
My problem is that in Safari, Opera Chrome, when
Hi,
Unfortunately, that's not a whole lot to go on. We really need some code
to look at and preferably a link that lets us see the action.
Rey...
yvonney wrote:
Hi All... Great to be here...
So, I've finally managed to get my some lumbering code I pieced
together to work with FF3.
Doesn't
I think you want an event handler for the input elements. Maybe
something like this? Instead of finding the column in the row above, I
just looked for the Nth price in the row above. That turned out to be
the most complicated part. The DOM defines a .rowIndex property for TR
elements but there is
How do I use jQuery to determine which item was selected from the
forms below?
Thank you for the help.
form
Select your favorite fruit:
select id=fruits
optionApple/option
optionOrange/option
optionPineapple/option
optionBanana/option
/select
/form
form
Select your favorite fruit:
$('#fruits').val()
On Sep 28, 2:12 am, GARIL [EMAIL PROTECTED] wrote:
How do I use jQuery to determine which item was selected from the
forms below?
Thank you for the help.
form
Select your favorite fruit:
select id=fruits
optionApple/option
optionOrange/option
56 matches
Mail list logo