[jQuery] .length value different in IE vs FF

2009-05-30 Thread Bob O
I have a pretty simple character counter to count the number of character typed by a user.. broadcastSubmit = $('#broadcastSubmitButton'); broadCastMessageDiv = $('#broadcastMessage'); availableChars = 140; charCount = $('.char_count'); boilerPlateKeyword =

[jQuery] IE only browsers that break - need help

2009-05-27 Thread Bob O
My code runs great in every browser but IE6 IE7 and IE8. it breaks and causes all scripts to fail. i setup Visual Web Developer in my VM like a blog post told me, and when i load the page i get Microsoft JScript runtime error: Object doesn't support this property or method that seem to break

[jQuery] Re: IE only browsers that break - need help

2009-05-27 Thread Bob O
to the front e.g. var login_box = ... or you can change the name of the variable itself. my_login_box etc... from the man himself. hopefully this helps anyone who comes across the same problem.. On May 27, 7:44 pm, Bob O sngndn...@gmail.com wrote: My code runs great in every browser but IE6 IE7

[jQuery] Re: jQuery Validation Plugin

2009-05-26 Thread Bob O
Jörn On Fri, May 22, 2009 at 10:15 PM, Bob O bhan...@hcinsight.com wrote: so as not to confuse.. the name attribute looks like this name=name['name'] for the input field and the js is rules: {  name['name']: 'required' } i noticed typos in the above question. On May 22, 12

[jQuery] Re: Jquery Email validation

2009-05-22 Thread Bob O
look at the jQuery validation plugin.. its pretty slick. On May 22, 4:06 am, gladrinkz gladri...@gmail.com wrote: is ant one know how can i set email validation in jquery i am using .net

[jQuery] Re: jQuery Validation Plugin

2009-05-22 Thread Bob O
so as not to confuse.. the name attribute looks like this name=name['name'] for the input field and the js is rules: { name['name']: 'required' } i noticed typos in the above question. On May 22, 12:36 pm, bhan...@hcinsight.com bhan...@hcinsight.com wrote: Can anyone tell me how i can

[jQuery] alert wont fire from page to page

2009-04-15 Thread Bob O
I have a very simple piece of code. $(document).ready(function() { // var url = location.pathname; alert(url); }); When im on my home page it alerts the pathname like it should. but when i navigate to the next page the alert does not fire the firebug dom shows the new pathname..but the

[jQuery] Re: alert wont fire from page to page

2009-04-15 Thread Bob O
also in my code the line is not commented out... I accidentally pasted that in there.. On Apr 15, 10:45 am, Bob O sngndn...@gmail.com wrote: I have a very simple piece of code. $(document).ready(function() {   // var url = location.pathname;   alert(url); }); When im on my home page

[jQuery] Re: alert wont fire from page to page

2009-04-15 Thread Bob O
nevermind...i found the problem. On Apr 15, 10:46 am, Bob O sngndn...@gmail.com wrote: also in my code the line is not commented out... I accidentally pasted that in there.. On Apr 15, 10:45 am, Bob O sngndn...@gmail.com wrote: I have a very simple piece of code. $(document).ready

[jQuery] table filtering

2009-03-31 Thread Bob O
I have a YUI datatable that im live filtering from a text field. The problem im having is when i get a lot of records, its really slow..Ive only been using jQuery for a few months now, so im a bit of a noob. Any help refactoring this to make it run smoother would be great. **HTML** **search

[jQuery] show hide random rows

2009-03-17 Thread Bob O
I was wondering if anyone could point me to a tutorial or blog where i can accomplish this task. Basically i have a YUI datatable and i want to use jQuery to hide all but a user generated number of rows that are random selected so if i had 50 records in the table and the user input 10 in a text

[jQuery] Re: validation rules(remove) doesn't seem to work

2009-02-24 Thread Bob O
Im a little new to the plugin myself, but do you have a form id=myFormwrapping your inputs? On Feb 24, 10:34 am, kathb4 kat...@googlemail.com wrote: I am trying to use the validation plugin to validate a set of checkboxes which are created by my CMS (drupal) so are not changeable - and

[jQuery] Validation and Facebox

2009-02-24 Thread Bob O
Hello, Ive been using the Validation plugin on my site and it works fantastic. i have run into an issue with trying to get it to perform validation on a form that resides in a facebox. I setup the validation the same as any other form in the site. what could i be missing?

[jQuery] jQuery and IE

2009-02-24 Thread Bob O
So im stumped..I have my jquery file in the headers, and it works in Opera, Safari, FF on mac, and FF on Windows, but i get nothing in IE..its there, its just broken. i recently added the validation plugin? could there be something im missing?

[jQuery] Re: jQuery and IE

2009-02-24 Thread Bob O
that could be faulting.. On Feb 24, 12:35 pm, Bob O sngndn...@gmail.com wrote: So im stumped..I have my jquery file in the headers, and it works in Opera, Safari, FF on mac, and FF on Windows, but i get nothing in IE..its there, its just broken. i recently added the validation plugin? could

[jQuery] Re: jQuery and IE

2009-02-24 Thread Bob O
must provide a start date.            }            endDate: {               required: You must provide an end date.            } } On Feb 24, 10:59 am, Bob O sngndn...@gmail.com wrote: sorry..new to the group thing here as well... i have narrowed it down to this piece of code

[jQuery] optimizing

2009-02-14 Thread Bob O
hello, Im trying to figure out a better way to do this. it works but its very sluggish, so i think theyre might be a better way to iterate? i have an input field = .searchbox and then i have a YUI datatable that contains about 65 rows. when i start to type in the search field, it iterates over

[jQuery] Re: Dealing with Date Comparison

2009-02-05 Thread Bob O
() (now.getTime() - (14*24*60*60*1000))) {       $(this).addClass('highlight');     }   }); }); Bob O-2 wrote: Can any one point me in the right direction for my issue. I have a div with a text value pulled in from a database 01/01/2009 Im trying to write a javascript that can take

[jQuery] Dealing with Date Comparison

2009-02-04 Thread Bob O
Can any one point me in the right direction for my issue. I have a div with a text value pulled in from a database 01/01/2009 Im trying to write a javascript that can take that value and compare it against new Date(); $(document).ready(function() { now = new Date(); lastActivityDivs =

[jQuery] .text()

2009-01-31 Thread Bob O
So below i have my code example. Basically when a user loads this page depending on the type of campaign this is, I want jQuery to show the proper Sub Form Piece. I can get the alert() outside the if else to fire, but nothing inside the if else fires, which leads me to believe that I might have

[jQuery] change()

2009-01-02 Thread Bob O
Hello all, a little new the js and jquery any help would be fantastic... I have this in my linked myFx.js file: $(document).ready(function() { var selected_type = $('select#campaign_type_select'); var coupon_div = $('#campaign_create_coupon'); var broadcast_div =

[jQuery] Re: change()

2009-01-02 Thread Bob O
) {                 value = newvalue;                 alert( value );             }         });     }); -Mike From: Bob O Hello all, a little new the js and jquery any help would be fantastic... I have this in my linked myFx.js file: $(document).ready(function() {   var selected_type = $('select

[jQuery] Re: change()

2009-01-02 Thread Bob O
if' and it should be fine, and start using Firebug for Firefox so you can debug your scripts, or Visual Web Developer for IE. On Jan 2, 2:04 pm, Bob O sngndn...@gmail.com wrote: I must not be getting it, this is whati have now, and it is still not working as needed. $(document).ready

[jQuery] Re: exclude children from selected elements

2008-11-21 Thread Bob O
Why dont you fire an event after the children have been loaded that removes them? On Nov 21, 3:07 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: My mistake, it is working. The problem was my lack of understanding about how Dialog works.  main is the div from which I create a Dialog and I

[jQuery] Re: jQuery and Rails Block

2008-09-24 Thread Bob O
here. Cheers, -Eric On Sep 20, 10:40 am, Bob O [EMAIL PROTECTED] wrote: Hello, Im am a CSS guy moving into the world of js and RoR, so its nice to find things like jQuery and supporting groups. I am a n00b, so the more english the response the better Question: I have a rails

[jQuery] jQuery and Rails Block

2008-09-20 Thread Bob O
Hello, Im am a CSS guy moving into the world of js and RoR, so its nice to find things like jQuery and supporting groups. I am a n00b, so the more english the response the better Question: I have a rails partial that cycles a :collection. So every record in the db table receives the same