[jQuery] Re: simple question regarding the 'this' keyword

2009-08-10 Thread svanhess
I would suggest removing the thmb1, thmb2, thmb3 classes and use a static class like thmb so you can create a single function that handles all of your links. You can then create a single function to grab the src attribute of the child img tag and load up the hi res version of the image. For

[jQuery] Re: Attribute selection not working in MSIE; eg $(input[name=name]).val()

2009-08-10 Thread V
Ok, that works. But now when adding a second selector it fails at the second. var company = $(#contactform div input[name='name']).val(); var company = $(#contactform div input[name='company']).val(); This is even weirder :o

[jQuery] Re: Attribute selection not working in MSIE; eg $(input[name=name]).val()

2009-08-10 Thread V
The solutions, adding; var name = ; var company = ; Strange this wasnt needed before :o

[jQuery] Re: li/img click and window.keydown

2009-08-10 Thread Lideln
Up On 23 juil, 08:30, Lideln lid...@gmail.com wrote: Up On 20 juil, 18:46, Lideln lid...@gmail.com wrote: Hi, Thanks for the answer. Here is a bit of my script : [code] // Constructing the modal... SModule_gallery.oGalleryModal.jqm({modal: true})                        

[jQuery] Re: Attribute selection not working in MSIE; eg $(input[name=name]).val()

2009-08-10 Thread HerrJuergen
a shorter solution for your code should be, giving the input field an unique id On Aug 10, 9:46 am, V vincenti...@gmail.com wrote: The solutions, adding;         var name = ;         var company = ; Strange this wasnt needed before :o

[jQuery] Re: calling a jQuery function from RJS/onclick

2009-08-10 Thread Ram
implementing the live() function solved this problem. http://docs.jquery.com/Events/live#typefn On Aug 10, 9:53 am, Ram yourstruly.vi...@gmail.com wrote: anyone? any ideas at all?? On Aug 7, 4:38 pm, Ram yourstruly.vi...@gmail.com wrote: Hi, Im using jNice (a jQuery plugin) in rails. I

[jQuery] can't return value after $.ajax call

2009-08-10 Thread robg
Hi i'm currently using the dialog functionality (modal form) from UI library to submit data to the database. All the validation checks have been running ok until one of the validation checks requires a ajax call to check if a username exsist in the database. I'm fairly new to both javascript

[jQuery] Re: can't return value after $.ajax call

2009-08-10 Thread Steven Yang
aside from the fact that checkIfUsername does not have a return ajax function is not going to waitwhen you finished calling $.ajax your function has already ended(returned) then when server responded your returnUsernameBool will be called but thats already too late for your alert(bValid) thinking

[jQuery] Re: can't return value after $.ajax call

2009-08-10 Thread robg
Hi Steven, Thank you for your reply but i'm not sure i understand what you mean? By having async set to false the script does wait for the value to come back from the server before executing the rest of the script (i can tell it does this because all the alerts i run to test it, run in the order

[jQuery] Re: can't return value after $.ajax call

2009-08-10 Thread Steven Yang
if thats the case try function checkIfUsername(o) { var bool; $.ajax({ type: POST, url: +CI_ROOT+index.php/admin/check_if_username, data: ({username: username.val()}), async: false, dataType: json,

[jQuery] jQuery readonly input text and ie6

2009-08-10 Thread m.ugues
Hallo all. I got e problem with this piece of code with ie6. I'm trying to make an input text readonly with a predefined value and I need to cancel the value only when some key is pressed on keyboard. Her is the code http://pastie.org/578280 The code do work on every browser except ie6 (on

[jQuery] Re: can't return value after $.ajax call

2009-08-10 Thread robg
Thank you, that has worked. I tried exactly the same thing before because i though that returning the boolean from within the $.ajax method might not work. However instead of using bool = true; i was using var bool = true;. Have you any idea why using the prefix of var would stop this working?

[jQuery] Re: Regular Expression validation

2009-08-10 Thread nouky
I'm not that good with javascript. If the textboxt name is txtname, how do you incorporate it in the code above???

[jQuery] How to check status of image loading ?

2009-08-10 Thread Jarosław M .
Hello, I use JS to change src of img to load different images from remote server in the same object. if the image is available then everything works perfect, but when I cannot download image the img becomes blank (as expected). My question is, can I check somehow if image is not loaded (ex.

[jQuery] validate | Validation not Initiating on Pressing Enter Key on IE8

2009-08-10 Thread Prabir
Hi, Form is not getting validated on Pressing Enter Key only on IE8. However its working fine on IE7/6, Firefox. I am showing this form on mouseover (So initially form display is none on onmouse over of a link form display property changed to block.) Thanks, Prabir

[jQuery] how convert low jquery version function to new version?

2009-08-10 Thread arun kumar
hi, this is jquery table editor plugin, http://dev.iceburg.net/jquery/tableEditor/demo.php it is work in this version /* * jQuery 1.0.3 - New Wave Javascript * * Copyright (c) 2006 John Resig (jquery.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt)

[jQuery] Disable submit button with Validation plugin

2009-08-10 Thread Rich Sturim
I need help with the Validation plugin. I have a form with a required field. When the form is valid I want the form to submit and I also want to disable the submit button. I have a function that does the disabling, but I'm not sure how to call this function within the validate method. Here is

[jQuery] jQuery Clash with other javascript?

2009-08-10 Thread luke
Hi, So I'm trying to create a simple overly but I think i'm doing something wrong with the ordering of my javascript or something, the page is http://blackpaint.co.uk/BlackPaint09/offline/flash-background/index.html here is the overlay by itself (working version)

[jQuery] AJAX calls acting syncronously

2009-08-10 Thread sak
Hi there I am a newbie to using jquery and have been exploring it developing a new app. At the moment I have a number of AJAX calls to the server which I have been queueing in an array and using a single $.ajax call to handle all of them. However I know about the browser limitations of two calls

[jQuery] (Validate) Error messages in Summary section

2009-08-10 Thread dazad...@gmail.com
Hi, I'm new to jQuery and the validation plugin, I just wondered if it is possible to get the error messages to be shown in an error summary section instead of inline? Cheers, Daz

[jQuery] $ajax() problem

2009-08-10 Thread yi
$.ajax({ type: POST, url: mywebpage.aspx?Arg=+args2, contentType: text, data:{}, dataType:

[jQuery] can all jQuery code be included in just one $(function(){}); ?

2009-08-10 Thread Jesper F
I Include my javascript in an includefile. Which is better way to organize the jQuery code: $(function(){ $(.myboxclass).corner(7px); $(#myrandomdiv).corner(7px); }); or $(function(){ $(.myboxclass).corner(7px); }); $(function(){

[jQuery] Re: simple question regarding the 'this' keyword

2009-08-10 Thread amuhlou
to get you started, you can use the each method, something like $('#carousel ul li a').each( function(){ //$(this) equals the current a element var src = $(this).children(img); //do other stuff here } ); On Aug 10, 2:24 am, svanhess

[jQuery] Re: Disable submit button with Validation plugin

2009-08-10 Thread Jörn Zaefferer
Try this: $(document).ready(function() { $(#myForm).validate({ submitHandler: function(form) { $(form).find(:submit).attr(disabled, true).attr(value, Submitting...); form.submit(); } }) }); Jörn On Mon, Aug 10, 2009 at 9:40 AM, Rich Sturimcosmos99...@gmail.com

[jQuery] Question regarding jQuery.ready method

2009-08-10 Thread ujamu
I have developed a FF extension that loads a few JavaScript files (one of which is jQuery) and attaches them to any given page being viewed by the user. The loading of the js files can ether happen during or after the web page had been loaded into the browser. Obviously, once the js files get

[jQuery] Re: AJAX calls acting syncronously

2009-08-10 Thread MorningZ
Am I missing something here Yes, you are assuming that the results will come back in the order called, which totally is not the case the success function simply says when you return from this async call, run this, there is nothing in the logic about order There is an older plugin that

[jQuery] Re: Attribute selection not working in MSIE; eg $(input[name=name]).val()

2009-08-10 Thread Ricardo
You should avoid using reserved words in your attributes, and also avoid names/ids that are also available as properties of forms. IE overwrites DOM methods/properties when you set the attribute: http://www.jibbering.com/faq/faq_notes/form_access.html#faComMis

[jQuery] Re: Regular Expression validation

2009-08-10 Thread nouky
What I really wanted to do is use the jQuery validator and in the function set a validation that numbers are not allowed in a text input. For example I have this code: $(document).ready(function() { // validate signup form on keyup and submit var validator =

[jQuery] Re: jQuery readonly input text and ie6

2009-08-10 Thread Mazi
Ok I found the problem. The problem is that i want to bind the event on the Delete button keypress. But in ie the Delete button does not fire any keyCode. Any idea/workaround? Kind regards Massimo On Aug 10, 12:54 pm, m.ugues m.ug...@gmail.com wrote: Hallo all. I got e problem with this

[jQuery] Re: Sloppy Documentation of Ajax Methods

2009-08-10 Thread Ricardo
I see your point, it's completely inconsistent. It's a wiki, anyone can fix that. How about this? jQuery.ajax() Start an HTTP request with custom parameters .load() Load HTML from an URL and insert into the selected element(s) jQuery.get() Load data using an HTTP GET request jQuery.getJSON()

[jQuery] Re: jQuery readonly input text and ie6

2009-08-10 Thread Leonardo K
Maybe this plugins will help you: http://code.google.com/p/js-hotkeys/ On Mon, Aug 10, 2009 at 10:36, Mazi m.ug...@gmail.com wrote: Ok I found the problem. The problem is that i want to bind the event on the Delete button keypress. But in ie the Delete button does not fire any keyCode.

[jQuery] Re: can all jQuery code be included in just one $(function(){}); ?

2009-08-10 Thread amuhlou
According to the API, you can have as many $(function(){}); in a page as you'd like. http://docs.jquery.com/Events/ready It just depends on the needs of your project. If it's imperative that $ (#myrandomdiv).corner(7px) is applied after $(.myboxclass).corner (7px); completes, then leave them

[jQuery] jQuery validation - Numbers not allowed

2009-08-10 Thread nouky
I have this code: $(document).ready(function() { // validate signup form on keyup and submit var validator = $(#signupform).validate({ rules: { firstname: required, lastname: required,

[jQuery] Re: Malsup Form Plugin and buttons tags

2009-08-10 Thread NickUK
Ah I was going about it a bit wrong. I've taken out the ajaxSubmit of the click function and changed it to ajaxForm. The click function just adds the hidden fields now. Nick On Aug 6, 7:50 pm, Mike Alsup mal...@gmail.com wrote: My buttons are type submit and each have values. I believe it

[jQuery] jquery tabs :: ul li a animation

2009-08-10 Thread kenny
Hello all, I am using the tabs with a fade in/out effect for the panels, it works nice. $(function() { $(#tabs).tabs({ collapsible: true,fx: { opacity: 'toggle'}, selected: -1 }); }); What I would like to do is a type of

[jQuery] Plugin to view large photos

2009-08-10 Thread Acaz Souza
http://code.google.com/p/jquery-largephotobox/

[jQuery] Jquery Show/Hide playing up in Safari

2009-08-10 Thread maffo
Note: I have also posted this on jqueryhelp.com but I havent resolved this issue. http://www.jqueryhelp.com/viewtopic.php?p=9713 I have just started a new job and am building my first website for them. Im using Jquery to try and impress them but after trying and testing the site in Safari, I

[jQuery] Re: Sloppy Documentation of Ajax Methods

2009-08-10 Thread Nick Fitzsimons
2009/8/10 Shawn sgro...@open2space.com: ALL the functions (load, get, post, etc) are wrappers for the $.ajax() function.  I only use $.ajax() now and tweak it to meet my needs... Makes for less confusion. Ajax by default will only load files that are in the same domain as the calling page.

[jQuery] JSONP + two different encoding results

2009-08-10 Thread hedgomatic
I have an edit-in-place plugin I've created for my employer. We *need* to use iso-8859-1* I understand we can set the *response* to be in iso-8859-1 in ajax, but I also need the request to be, so that it's posted properly to our database. So, I'm posting with jsonp, and then getting the updated

[jQuery] Re: Jquery Show/Hide playing up in Safari

2009-08-10 Thread amuhlou
can you post a test page with the code you posted above? On Aug 10, 9:00 am, maffo a...@thisisrealart.com wrote: Note:  I have also posted this on jqueryhelp.com but I havent resolved this issue. http://www.jqueryhelp.com/viewtopic.php?p=9713 I have just started a new job and am building

[jQuery] Re: can all jQuery code be included in just one $(function(){}); ?

2009-08-10 Thread Jesper F
Excellent, thanks! On 10 Aug., 15:56, amuhlou amysch...@gmail.com wrote: According to the API, you can have as many $(function(){}); in a page as you'd like.http://docs.jquery.com/Events/ready It just depends on the needs of your project. If it's imperative that $

[jQuery] Jquery Game : Outer Empires : Open Beta

2009-08-10 Thread Paul Hutson
Well, we've finally entered the open beta phase of Outer Empires (http://www.outer-empires.com) which is a game that is built using a lot of Jquery... :) If you fancy having a go, head on over to the site to get started (the main news item will give you all the information you need) - it'll show

[jQuery] Re: Jquery Game : Outer Empires : Open Beta

2009-08-10 Thread Paul Hutson
p.s. Sorry if I put this in the wrong place!! I didn't know where else to post it...!

[jQuery] Using ScrollTo, IE displays hidden info bef ore it hides it — Any help/ideas?

2009-08-10 Thread jen
Hi there, I'm nearly done with this client site, and it works well in all the browsers I've checked, but I'd really like to finetune the performance in IE. http://maximizeutility.com/what/ I know that the video embedding doesn't validate, but it's the best solution I've found that allows the

[jQuery] load() event on a link tag?

2009-08-10 Thread ebakunin
Hello, When a user clicks a button I dynamically load large CSS and JS files. I handle it in this way: $(#say_hello).click(function() { $(body).prepend('link type=text/css rel=stylesheet id=example href=css/jquery-ui.min.css /'); $.getScript(js/mail.js);

[jQuery] Re: load() event on a link tag?

2009-08-10 Thread Alexander Freiria
You could dialog box in the callback of the click funciton... $(#say_hello).click( function() { $(body).prepend('link type=text/css rel=stylesheet id=example href=css/jquery-ui.min.css /'); $.getScript(js/mail.js); $(#say_hello_box).dialog(open); }); On Mon, Aug 10,

[jQuery] Re: Cleartype issues with jquery/superfish in IE8

2009-08-10 Thread pixelwiz
I'm having this issue with IE8 as well and my implementation of Superfish menu. Anyone know of a fix? -Roman

[jQuery] Full jQuery website

2009-08-10 Thread Cyril
Hi everybody, Is there any project about a website using pure jQuery for rendering the pages ? Thanks, Cyril

[jQuery] Re: load() event on a link tag?

2009-08-10 Thread ebakunin
Unfortunately the callback on click() never occurs: $(#say_hello).click(function() { $(body).prepend('link type=text/css rel=stylesheet href=css/ jquery-ui.min.css /') $.getScript(js/mail.js); }, function() { alert(done); }); As a hack, I can attach the event to the

[jQuery] Re: load() event on a link tag?

2009-08-10 Thread Alexander Freiria
try setTimeOut On Mon, Aug 10, 2009 at 1:28 PM, ebakunin ebaku...@gmail.com wrote: Unfortunately the callback on click() never occurs: $(#say_hello).click(function() { $(body).prepend('link type=text/css rel=stylesheet href=css/ jquery-ui.min.css /')

[jQuery] Re: Full jQuery website

2009-08-10 Thread Paul Hutson
Is there any project about a website using pure jQuery for rendering the pages ? When you say pure jquery, what exactly do you mean? Outer Empires uses Jquery for a LOT of the positioning, animation, etc when in game (http://www.outer-empires.com) - the front page uses a little as well now I

[jQuery] Re: refactoring help/ suggestions?

2009-08-10 Thread Calvin
Here is a solution I came up with, but there is still some repeated code. Does anyone have any suggestions I could try out to 'DRY' up my code? jQuery.fn.swapFade = function() { if (this.is(':hidden')) { this.fadeIn('slow'); } else {

[jQuery] Select Option add Class

2009-08-10 Thread Benn
This might have been resolved, but I can't find a solution with my search. I'm trying to add a class with the text of the option. Simple to do the selected option, but not all of them it seems. I want to change: select class=required id=custom1 name=custom1 option selected= value=/ option

[jQuery] Re: Select Option add Class

2009-08-10 Thread amuhlou
You can achieve this with a loop using the each method: $('select#custom1 option').each(function(){ var theText = $(this).html(); $(this).addClass(theText); }); However, with your current HTML, the class names will have spaces in them, which isn't valid.

[jQuery] Get the ID of a button that is clicked

2009-08-10 Thread Erich93063
I have a listing of records on a page and an Edit button for each record. I want to write some jquery that fires when the button is clicked to go to the edit page for the record whose button I clicked. Here is what I have. Feel free to tel lme to do it completely differently if there is an

[jQuery] Re: Get the ID of a button that is clicked

2009-08-10 Thread Charlie Griefer
this.id On Mon, Aug 10, 2009 at 11:48 AM, Erich93063 erich93...@gmail.com wrote: I have a listing of records on a page and an Edit button for each record. I want to write some jquery that fires when the button is clicked to go to the edit page for the record whose button I clicked. Here is

[jQuery] Re: Get the ID of a button that is clicked

2009-08-10 Thread Erich93063
WOW I thought I tried that. That was my first instinct. I must have had an error somewhere else. That worked. THANKS! On Aug 10, 11:50 am, Charlie Griefer charlie.grie...@gmail.com wrote: this.id On Mon, Aug 10, 2009 at 11:48 AM, Erich93063 erich93...@gmail.com wrote: I have a listing of

[jQuery] Validate groups of input fields, checkbox highlight and reset

2009-08-10 Thread hendra
Hi, I have 3 problems I need to solve: 1. Validate groups of input fields. I see in the example of tabs, you can do as follows: // validate the other two selects when one changes to update the whole group var birthdaySelects = $(#birthdateGroup select).click(function() {

[jQuery] Re: Regular Expression validation

2009-08-10 Thread Eduardo Pinzon
jQuery.validator.addMethod(notNumber, function(value, element, param) { var reg = /[0-9]/; if(reg.test(value)){ return false; }else{ return true;

[jQuery] Re: Select Option add Class

2009-08-10 Thread Eduardo Pinzon
try this: $(#custom1 option).each(function(){ var class = $(this).html(); addClass(class); }); Eduardo Pinzon Web Developer 2009/8/10 Benn bennmey...@gmail.com This might have been resolved, but I can't find a solution with my search. I'm trying to add a class with the text of

[jQuery] Re: Get the ID of a button that is clicked

2009-08-10 Thread Eduardo Pinzon
or script type=text/javascript $(function() { $('#myGroup input:button').click(function(e) { self.location = 'foo.cfm?id=' + $(this).attr(id); }); }); /script 2009/8/10 Erich93063 erich93...@gmail.com WOW I thought I tried

[jQuery] Re: $ajax() problem

2009-08-10 Thread Eduardo Pinzon
If the type is POST you could set arguments by 'data', or set the type to GET to pass the paraments in querystring ... type: GET, url: mywebpage.aspx?Arg=+args2, ... OR ... type: POST, url: mywebpage.aspx, data:{Arg:args2} ... Eduardo Pinzon Web Developer 2009/8/10 yi falconh...@gmail.com

[jQuery] Re: jQuery validation - Numbers not allowed

2009-08-10 Thread Eduardo Pinzon
try create this method jQuery.validator.addMethod(notNumber, function(value, element, param) { var reg = /[0-9]/; if(reg.test(value)){ return false; }else{ return true;

[jQuery] Re: BlockUI overlapping issue with element negative margin

2009-08-10 Thread snobo
Hi Mike, I just found out that exactly this behavior (changing the display from static to relative) messes up my page too, only in IE: a known issue with the IE's z-index stacks (well described at http://mahzeh.org/?p=19). Could you consider, if possible, reverting the blocking element's display

[jQuery] Problem on IE8

2009-08-10 Thread Gaiz
I found 2 problems when I use jQuery on IE8 1. When I use $('elementId').css('border-top-width'), it return medium, but other browsers return 0px 2. After domready, my page, that's a widget, call ajax to load content. On page, it have menu link to call ajax to load value. I debug and found no

[jQuery] listmenu

2009-08-10 Thread Paul Speranza
This may not be a bug in the jQuery List menu widget but if it saves someone the time it took me to figure it out or the author has an idea of how to handle this then it is worth it. If the items begin with a comma - , Paul - it causes the columns in the result to not be created in IE 7 and the

[jQuery] Re: can all jQuery code be included in just one $(function(){}); ?

2009-08-10 Thread Toshiya TSURU
The former is better On 8/10/09, Jesper F jesperfjoel...@gmail.com wrote: I Include my javascript in an includefile. Which is better way to organize the jQuery code: $(function(){ $(.myboxclass).corner(7px); $(#myrandomdiv).corner(7px); }); or

[jQuery] Re: jQuery Cycle Plugin and Links

2009-08-10 Thread artistique
Hi there, I am having a similar issue, but the functionality I want to achieve is a bit simpler. Right now I want to apply a link of my choosing to each slide (in the HTML of the slide), but t this breaks the alt information pulled from the the pager and displays an undefined error on the page.

[jQuery] Two Menus Showing up

2009-08-10 Thread FlowSnowboards
I installed the Superfish Module and all appears to be working properly, My question is The Original Horizontal Nav is still showing up? How do I Disable? Also, The links with drop down's are gray and the links with no dropdown are red? Thanks, Owen

[jQuery] animate image position

2009-08-10 Thread Tom Cool
Hi, I'm experiencing a large amount of flickering in a image i move with animate(). Looking at jQuery's source code, i think it has something to do with the setInterval it uses to calculate the animation; when binding the animation to 'mousemove' its runs smoothly. Any ideas on how to improve

[jQuery] Re: Get the ID of a button that is clicked

2009-08-10 Thread Charlie Griefer
Aye, but I've been reprimanded (on this list) for suggesting that (and incurring the 'overhead' of a jQuery object) when 'this' works just fine :) On Mon, Aug 10, 2009 at 11:56 AM, Eduardo Pinzon edcpin...@gmail.comwrote: or script type=text/javascript $(function() {

[jQuery] Re: listmenu

2009-08-10 Thread Jack Killpatrick
Hi Paul, Thanks for this info, I'll add it to my test cases and thanks for letting the community know. I was actually working on a new version of the plugin yesterday, which adds one new feature: an onClick option that you can pass a function to for handling clicks in the dropdown menu. If

[jQuery] input has focus

2009-08-10 Thread MartinBorthiry
Hello: I'm trying to know if an input has focus. Is that possible using jquery? samething like this: $('input#1').has_focus()

[jQuery] Re: Two Menus Showing up

2009-08-10 Thread FlowSnowboards
Forgot to mention I am using Joomla 1.5 On Aug 10, 10:04 am, FlowSnowboards flowsno...@gmail.com wrote: I installed the Superfish Module and all appears to be working properly, My question is The Original Horizontal Nav is still showing up? How do I Disable? Also, The links with drop down's

[jQuery] Re: Get the ID of a button that is clicked

2009-08-10 Thread Anoop kumar V
Would e.target.id also work in this case? Thanks, Anoop On Mon, Aug 10, 2009 at 3:00 PM, Charlie Griefer charlie.grie...@gmail.comwrote: Aye, but I've been reprimanded (on this list) for suggesting that (and incurring the 'overhead' of a jQuery object) when 'this' works just fine :) On

[jQuery] [UI 1.7.2] Datepicker: Encapsulated theme?

2009-08-10 Thread Micky Hulse
Hi, For the sake of learning, does anyone know where I could nab a copy of the datepicker CSS that does not have any extra UI css? Basically, I just want to style the datepicker sans extraneous UI css. :) The ui.datepicker.css gets me pretty far, but I appear to be missing some styles. Should

[jQuery] Re: Get the ID of a button that is clicked

2009-08-10 Thread Eduardo Pinzon
sorry, tanks for tip 2009/8/10 Charlie Griefer charlie.grie...@gmail.com Aye, but I've been reprimanded (on this list) for suggesting that (and incurring the 'overhead' of a jQuery object) when 'this' works just fine :) On Mon, Aug 10, 2009 at 11:56 AM, Eduardo Pinzon

[jQuery] Re: input has focus

2009-08-10 Thread Dan G. Switzer, II
You can add a class to your field when it has focus and then check for the class: $(:input) // add focus/blur events .focus(function (){ $(this).addClass(has-focus); }) .blur(function (){ $(this).removeClass(has-focus); }); Now you can just do $(input#1).is(.has-focus) to check if it has focus.

[jQuery] Re: Problem on IE8

2009-08-10 Thread Liam Byrne
How are you setting the border in CSS ? If you set it explicitly, it should work cross-browser L Gaiz wrote: I found 2 problems when I use jQuery on IE8 1. When I use $('elementId').css('border-top-width'), it return medium, but other browsers return 0px 2. After domready, my page, that's a

[jQuery] Re: I need Validation Plugin help... (again)

2009-08-10 Thread Miket3
I found the issue I wasnt using the errorPlacement option. I added this. errorPlacement: function(error, element) { error.appendTo( element.parent() ); }, On Aug 10, 4:17 pm, Miket3 miketro...@gmail.com wrote: This thing has kicked

[jQuery] Re: input has focus

2009-08-10 Thread MartinBorthiry
On 10 ago, 16:49, Dan G. Switzer, II dswit...@pengoworks.com wrote: You can add a class to your field when it has focus and then check for the class: $(:input) // add focus/blur events .focus(function (){ $(this).addClass(has-focus);}) .blur(function (){ $(this).removeClass(has-focus);

[jQuery] I need Validation Plugin help... (again)

2009-08-10 Thread Miket3
This thing has kicked my butt all week long. Yesterday, I actually got it to work.(almost). Since I am new to this plugin, I am using FRANKENSTEIN code built from examples and samples. here is my code: success: function(label) { var valid_img = 'img

[jQuery] Re: animate image position

2009-08-10 Thread Paul Mills
Hi, Can you post an example of your animation code or link to a demo page. Paul On Aug 10, 4:39 pm, Tom Cool tomcoo...@gmail.com wrote: Hi, I'm experiencing a large amount of flickering in a image i move with animate(). Looking at jQuery's source code, i think it has something to do with

[jQuery] Re: Select Option add Class

2009-08-10 Thread Benn
this worked great! thank you muchly! On Aug 10, 11:19 am, Eduardo Pinzon edcpin...@gmail.com wrote: try this: $(#custom1 option).each(function(){       var class = $(this).html();       addClass(class); }); Eduardo Pinzon Web Developer 2009/8/10 Benn bennmey...@gmail.com This

[jQuery] Re: Full jQuery website

2009-08-10 Thread Stephan Beal
On Aug 10, 7:19 pm, Cyril dubus...@gmail.com wrote: Is there any project about a website using pure jQuery for rendering the pages ? It's funny you mention that, because i'm working on exactly that right now: an application framework for writing apps in pure JS, using HTML only to get the JS

[jQuery] Re: jquery + cycle + IE

2009-08-10 Thread Mike Alsup
http://negativespace.ca/clients/mirrorbuilder/ snip/ Works fine in Safari and Firefox so far, but for whatever reason, both of those controllers will not show up in IE6 or IE7. I am a little bit stumped. Just looked in IE7 - looks good to me. Did you fix it?

[jQuery] Re: input has focus

2009-08-10 Thread James
You can still use the same technique but just not use jQuery to do it. On Aug 10, 10:09 am, MartinBorthiry martin.borth...@gmail.com wrote: On 10 ago, 16:49, Dan G. Switzer, II dswit...@pengoworks.com wrote: You can add a class to your field when it has focus and then check for the class:

[jQuery] Re: AJAX and JSON

2009-08-10 Thread Stephan Beal
On Aug 10, 9:58 pm, Joey Derrico joeyd...@gmail.com wrote: I am a novice at AJAX and JSON (Ok, I am a novice at JavaScript.), and I am brand new to jQuery. I wanted to use JSON in a project I am working on and I read various tutorials on using JSON with jQuery however none of them answered

[jQuery] Ajax and LiveQuery

2009-08-10 Thread Kilhom
Hi ! I use the plugin live query, i have checked many times my code but it dont works, i want to use jquery after an Ajax request. Here is my code : $('#refresh_inventaire').livequery('click',function(){ajax_storage ();}); When I click on the refresh link, it does refresh (using ajax_storage

[jQuery] AJAX and JSON

2009-08-10 Thread Joey Derrico
I am a novice at AJAX and JSON (Ok, I am a novice at JavaScript.), and I am brand new to jQuery. I wanted to use JSON in a project I am working on and I read various tutorials on using JSON with jQuery however none of them answered some of my questions. The biggest one is, does jQuery support JSON

[jQuery] Re: Using ScrollTo, IE displays hidden info before it hides it — Any help/ideas?

2009-08-10 Thread Stephan Beal
On Aug 10, 6:26 pm, jen timeyout...@gmail.com wrote: Do you have any idea how to have the hidden video viewers hidden upon page load in IE?  It's performing on Mac Safari FF, and Windows FF, but in Windows IE it's a lot slower to hide the info. You could try setting an explicit visibility on

[jQuery] Re: BlockUI overlapping issue with element negative margin

2009-08-10 Thread Mike Alsup
Could you consider, if possible, reverting the blocking element's display attribute back to static after unblocking? The plugin already does that.

[jQuery] Re: VALIDATION not validating when submit button clicked....

2009-08-10 Thread Jörn Zaefferer
Please show the rest of your code. Jörn On Mon, Aug 10, 2009 at 11:49 PM, Miket3miketro...@gmail.com wrote: Here is my handler:   submitHandler: function(form) {     alert('I CANT GET THIS TO TRIGGER');  }, Here is my button: input class=submit type=submit id=register value=Register

[jQuery] Re: AJAX and JSON

2009-08-10 Thread Michael Geary
From: Joey Derrico I am a novice at AJAX and JSON (Ok, I am a novice at JavaScript.), and I am brand new to jQuery. I wanted to use JSON in a project I am working on and I read various tutorials on using JSON with jQuery however none of them answered some of my questions. The

[jQuery] VALIDATION not validating when submit button clicked....

2009-08-10 Thread Miket3
Here is my handler: submitHandler: function(form) { alert('I CANT GET THIS TO TRIGGER'); }, Here is my button: input class=submit type=submit id=register value=Register How do i trigger a validate when the submit button is clicked? All of my validations work while I am working

[jQuery] $ajax() question

2009-08-10 Thread yi
$.ajax({ type: POST, url: mywebpage.aspx? Arg=+args2, contentType: text, data:{}, dataType:

[jQuery] Re: $ajax() question

2009-08-10 Thread Jules
There is a limit on url length depending on the browser. http://classicasp.aspfaq.com/forms/what-is-the-limit-on-querystring/get/url-parameters.html use type:POST and data: instead and do not enclose the object declaration data:{Arg:args2} instead of data:{Arg:args2} On Aug 11, 8:41 am, yi

[jQuery] Re: VALIDATION not validating when submit button clicked....

2009-08-10 Thread Miket3
Here it is minus the submit handler var v = $(#myform).validate({ rules: { username: {required: true, minlength: 4, remote: {url:lookup.php, type : post, data: {table:members,

[jQuery] Re: VALIDATION not validating when submit button clicked....

2009-08-10 Thread Miket3
DO NOT include hidden fields in the plugin data. I had 3 hidden fields that weren't required but they were phoneUS. That must be a no no. I havent thought about the logic behind... but I am moving on to the next problem. and it may have been that i had no messages setup for them. only

[jQuery] Re: refactoring help/ suggestions?

2009-08-10 Thread Jules
Assuming your html format as follows: a href=# class=pPara a/a pParagraph a/p br / a href=# class=pPara b/a pParagraph b/p br / a href=# class=pPara c/a pParagraph c/p Use this: $(document).ready(function() { $(a.p).next(p).hide();

  1   2   >