Hi I am currently learning jQuery from the book Learning jQuery 1.3
and I have run across a block of code that is not working for me in FF
or Safari. Here it is copied straight from the book (page 64)
$(document).ready(function() {
$(document).keyup(function(event) {
switch (String.fromCharCode(e
Thank you Rick, Brian and Mauricio, the return false line fixed it
right up!
Cheers.
> Try:
> $('.morePhotos').click (function(event) {
> event.preventDefault;
> $(this).parents().find('.pPictureStrip').toggle();
>
> });
Thank you for the suggestion however it did not seem to work...
Hi,
I have a page that opens some divs based on user feedback (try the
more photos links please). If you happen to be scrolled down the page
and you toggle something open the browser pops to the top, thus
closing the new div.
Example:
http://rtrservices.com/equipment.php?page=test
Code:
Thank you, worked well.
I am not sure if I am going about this is the best way but I have a
div with 8 divs inside of it. 2 always show and I would like the other
6 to come on only when the parent div is rolled over. Here is what I a
have so far:
$(function() {
/* hide items to be shown only when hovered over */
I am not sure if I am going about this is the best way but I have a
div with 8 divs inside of it. 2 always show and I would like the other
6 to come on only when the parent div is rolled over. Here is what I a
have so far:
$(function() {
/* hide items to be shown only when hovered over */
Thank you so much for this example. It works quite well on the content
of the but it does not modify the behavior of the meaning
that period stays. Ah well I thought it was a long shot, I guess I am
going with a table, lol.
So the title says it all pretty much. I have a design and I need to
have some running numbers along the side of a list. An ol would be
perfect and it is rendering:
1998. Item 1
1999. Item 2
To match the designs I need it to be:
1998 - Item 1
1999 - Item 2
I could just make a table but it would
Well, the whole idea of masking the input is to validate it. If you
want your user to be able to input 9_ and 09 and _9 and have them all
be valid, then you probably should use server side validation, or
maybe the validation plug-in.
Really, though, what you want to be accepted in the field isn
$.mask.addPlaceholder('~',"[0,1,3,4]");
$.mask.addPlaceholder('!',"[0,5]");
$("#quarterhour").mask("~!");
This won't stop you user from putting in 05,10,35,40 but you can put
in a callback function to test for those:
$("#quarterhour").mask("~!", {completed:function(){switch (this.val)
{case "05
This is a serious bug, guys. I can't even look at the jquery Ajax
documentation in IE6. Does anyone else have this problem?
On Sep 11, 9:58 pm, Eric Crull <[EMAIL PROTECTED]> wrote:
> Going through the Jquery 1.2 release notes using IE6 I couldn't even
> access the page on Ajax. Everytime I cl
ANd now it's working, so never mind I guess...
On Sep 11, 9:58 pm, Eric Crull <[EMAIL PROTECTED]> wrote:
> Going through the Jquery 1.2 release notes using IE6 I couldn't even
> access the page on Ajax. Everytime I clicked the Ajax Link, the
> browser folded like a house of cards.
>
> A second p
here is the link: http://docs.jquery.com/Ajax
On Sep 11, 9:58 pm, Eric Crull <[EMAIL PROTECTED]> wrote:
> Going through the Jquery 1.2 release notes using IE6 I couldn't even
> access the page on Ajax. Everytime I clicked the Ajax Link, the
> browser folded like a house of cards.
>
> A second p
14 matches
Mail list logo