[jQuery] When plugin ajaxform meets FCKeditor.

2009-12-06 Thread Eric Chen
Hi all, sorry for my bad English. I use the plugin named ajaxform, when I ajax post the form, I found the fckeditor's value does not post. I checked the codes of ajaxform, there are some some codes as follows: // hook for manipulating the form data before it is extracted; // convenient f

[jQuery] Re: Superfish

2009-12-06 Thread d.a.
thanks On Dec 7, 7:44 am, DanDan wrote: > You have a style in your default css that is wider than the intended > superfish dropshadow effect: > > #nav li {padding-right: 20px;} > > On Dec 6, 1:50 pm, "d.a." wrote: > > > > >http://www.designerschemes.com/ > > i am having problems with the dropsha

[jQuery] selectedClass option in jQuery UI 1.7.2

2009-12-06 Thread Donny Kurnia
It's have been a long time since I use jQuery UI tabs in my project. My client want dragable function, so I use this opportunity to upgrade all jquery ui. However, I notice one page got broken, because now the class used for selected tab is hardcoded in the ui.tabs.js I search the ticket and

[jQuery] Re: Superfish

2009-12-06 Thread DanDan
You have a style in your default css that is wider than the intended superfish dropshadow effect: #nav li {padding-right: 20px;} On Dec 6, 1:50 pm, "d.a." wrote: > http://www.designerschemes.com/ > i am having problems with the dropshadow. > it does not match the drop down container. > any i

[jQuery] Re: Opacity for background, but not for the element inside

2009-12-06 Thread Nivanka
yes, but you can have a hold Division and add the CSS. I dont mind an extra division to avoid using scripts to do the CSS for me. On Dec 7, 8:58 am, Dhruva Sagar wrote: > @Nivanka but that presents a problem that I need to know the child elements > of .work before hand. > If the DOM is dynamic,

[jQuery] Re: Opacity for background, but not for the element inside

2009-12-06 Thread Nivanka
Rather than setting the opacity from a javascript I prefer if you can do it in your CSS. .work div{ opacity: 1 !important; } This is better as it doesnt go through the DOM to set the opacity. to save memory, time of execution etc. On Dec 7, 8:26 am, Dhruva Sagar wrote: > What Greg has men

Re: [jQuery] Re: Opacity for background, but not for the element inside

2009-12-06 Thread Dhruva Sagar
@Nivanka but that presents a problem that I need to know the child elements of .work before hand. If the DOM is dynamic, it might not be that simple. But I still agree that your approach is better in the given context. Thanks & Regards, Dhruva Sagar. On Mon, Dec 7, 2009 at 9:21 AM, Nivanka wr

Re: [jQuery] Re: Opacity for background, but not for the element inside

2009-12-06 Thread Dhruva Sagar
I complete agree with Nivanka :). Didn't think of that :D Thanks & Regards, Dhruva Sagar. On Mon, Dec 7, 2009 at 9:21 AM, Nivanka wrote: > Rather than setting the opacity from a javascript I prefer if you can > do it in your CSS. > > .work div{ > opacity: 1 !important; > } > > This is b

[jQuery] Re: Opacity for background, but not for the element inside

2009-12-06 Thread Nivanka
Rather than setting the opacity from a javascript I prefer if you can do it in your CSS. .work div{ opacity: 1 !important; } This is better as it doesnt go through the DOM to set the opacity. to save memory, time of execution etc. On Dec 7, 8:26 am, Dhruva Sagar wrote: > What Greg has men

Re: [jQuery] Re: Opacity for background, but not for the element inside

2009-12-06 Thread Dhruva Sagar
What Greg has mentioned is absolutely true. But I think the better / easier approach to solve this issue must be something like this : $(document).ready(function(){ $('.work').css('opacity', '0.6').children().css('opacity', '1'); //I am actually not very sure about the above code, if

Re: [jQuery] Filtering table cell values

2009-12-06 Thread brian
Try this: jQuery('#Directorships tbody tr').each(function() { if (jQuery('td:nth-child(7)', $(this)).text().toLowerCase() == 'retired') { var td12th = jQuery('td:nth-child(12)', $(this));

[jQuery] Re: Opacity for background, but not for the element inside

2009-12-06 Thread Greg Tarnoff
The problem is in the way browsers render opacity. The spec reads that only the element and not children should have the reduced opacity, however none of the browsers have implemented this at last check (maybe safari 4+). Your best bet is to apply a background image with the designated opacity as

[jQuery] Opacity for background, but not for the element inside

2009-12-06 Thread Many
Hey, DEMO I want to set opacity to ".work" , it works fine if i do $(".work").css ("opacity","0.6"); but, i don't want the class title and logo have this opacity, how can i fix it? Thanks for reading!!

[jQuery] [validate] - jquery plugin + recaptcha = anyone get this to work?

2009-12-06 Thread Loony2nz
I've seen the validation method for captha at this URL: http://jquery.bassistance.de/validate/demo/captcha/ just wondering if anyone has gotten this to work with reCaptcha? I'm having a #$*( of a time to get this to validate with reCaptcha...any help is much appreciated.

[jQuery] Re: Remove css attribute from the DOM element

2009-12-06 Thread Joshua Partogi
On Dec 7, 12:36 pm, "evanbu...@gmail.com" wrote: > I like to use the addClass method rather than embed CSS in my js > code. I find it easier to maintain. > > $('td').addClass('myCSSClass'); > > $('td').removeClass('myCSSClass'); Hi Evan, I'd prefer that approach too. But the problem is this css

[jQuery] Re: Remove css attribute from the DOM element

2009-12-06 Thread evanbu...@gmail.com
I like to use CSS classes in an external stylesheet and then use the addClass method. I find the maintenance much easier this way. $('td').addClass('myCSSClass'); to remove the CSS Class $('td').removeClass('myCSSClass') On Dec 6, 6:09 pm, Joshua Partogi wrote: > Hi all, > > What is the cl

[jQuery] Re: Remove css attribute from the DOM element

2009-12-06 Thread evanbu...@gmail.com
I like to use the addClass method rather than embed CSS in my js code. I find it easier to maintain. $('td').addClass('myCSSClass'); $('td').removeClass('myCSSClass'); On Dec 6, 6:09 pm, Joshua Partogi wrote: > Hi all, > > What is the cleanest approach to remove a css attribute from the DOM el

[jQuery] Superfish

2009-12-06 Thread d.a.
http://www.designerschemes.com/ i am having problems with the dropshadow. it does not match the drop down container. any ideas? thanks

[jQuery] $ajax timeout option and firebug

2009-12-06 Thread agibralter
When I specify a low timeout firebug's console shows the ajax request as never ending -- is this just a problem with firebug or something more serious? The callbacks (complete, error, etc.) all work correctly... .ajax({ ... timeout: 50 ... }) => causes the request to never stop in the firebug cons

[jQuery] Remove css attribute from the DOM element

2009-12-06 Thread Joshua Partogi
Hi all, What is the cleanest approach to remove a css attribute from the DOM element? Currently I have a DOM element which has css background color as such: This is currently what I do: $('td').css('background-color','').append(replacement); But I'm not sure that is the good approach. Or is it

[jQuery] Filtering table cell values

2009-12-06 Thread evanbu...@gmail.com
I'm using this code hightlight any table cell in the 12th column with a value of zero which works well. //SharesHeld jQuery('#Directorships tr').each(function() { jQuery('#Directorships td:nth-child(12)').filter(function() { if (jQuery(this).text() == 0) jQu

Re: [jQuery] Script stops working

2009-12-06 Thread brian
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F On Sun, Dec 6, 2009 at 3:00 PM, factoringcompare.com wrote: > Hi, > > The below script collects a links ID when clicked and then posts via > ajax. Works fine on plan page. When I dynamically l

[jQuery] Re: remote validation on empty field

2009-12-06 Thread Jules
Sorry forgot the code: $("#field").rules("add", { remote: { url:"test.asp", type: "post", data: {fieldvalue: function(){ if ($("#field").val() == "") return "empty"; else return $("#field").val();

[jQuery] Re: remote validation on empty field

2009-12-06 Thread Jules
May be a dumb suggestion, but can't you set the value as "empty" when there is no value? On Dec 6, 7:53 pm, david wrote: > Hi all, > > I want to make a remote validation on an empty field. Sometimes the > field may be empty and sometimes not. This depends on the selection of > other elements. I s

[jQuery] Script stops working

2009-12-06 Thread factoringcompare.com
Hi, The below script collects a links ID when clicked and then posts via ajax. Works fine on plan page. When I dynamically load links dynamically via ajax the script stops working. The ajax page is collecting information via ASP so I don’t have any Jquery script issues. I can’t work out why its s

[jQuery] Doing something wrong

2009-12-06 Thread Dave Maharaj :: WidePixels.com
I have this function for an ajax edit form. $(document).ready( function() { var form_id = '#'; $(form_id).bind('submit',function() { var form_url = $(form_id).attr('action'); var page_target = form_url.substr(1).replace( new RegExp( "/" ,"g"), "_" ); var update_tar

Re: [jQuery] jquery addClass does not work in ajax call

2009-12-06 Thread brian
Please see: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F You could simply create a function that takes a jquery object (or the selector) as a param and does the striping. That way, you could call the function whenever necessary. Note, t

Re: [jQuery] Specify CSS Path

2009-12-06 Thread brian
JQuery doesn't need to read your CSS files. That's the job of the browser engine. What's the problem you're trying to solve? On Sat, Dec 5, 2009 at 8:28 PM, Juan B wrote: > Hi, > > My JQuery scripts and CSS files are placed in different folders. Is it > possible to specify the paths to my CSS fil

[jQuery] how to use keypress & click function together...

2009-12-06 Thread Erdem
hi i have a form with submit button... ajax sending form value to my php page and showing results in same page... it is work perfect when click submit button but its going to my process php page when hit enter. i want ajax to make same when hit enter or click submit button btw thanks for spendi

[jQuery] Positions on divs to affect css on menu links

2009-12-06 Thread Squirrel
I have a one-page website with a menu that is linked internally to divs on the page. I want to make the menu links to get the css :active state whenever the div with the corresponding id reaches a certain position set from the top of the page (preferably with some margin like between 30-60px from t

[jQuery] Specify CSS Path

2009-12-06 Thread Juan B
Hi, My JQuery scripts and CSS files are placed in different folders. Is it possible to specify the paths to my CSS files in my JQuery scripts so it can recognize its classes? Thanks

[jQuery] Tips and tricks for fixing memory leaks

2009-12-06 Thread James Gibson
I am using about 25 jquery plugins along with 1.3.2 and jquery ui 1.7. After using my app for a while firefox starts eating up memory and it can get up to 500MB and more. What tips and tricks to you guys find help eleminate memory leaks in your code? Thanks, James

[jQuery] Horizontal nav-bar (right-to-left)

2009-12-06 Thread Saleh
Hello, I would like to create a horizontal nav-bar (right-to-left) instead of (left-to-right) for languages such as (Arabic, Hebrew, Urdu and Farsi). I tried to alter the html tag but it does not work for me. Any help please? Regards, Saleh

[jQuery] jquery addClass does not work in ajax call

2009-12-06 Thread doctor
I have the content with stripped odd and even bar. It works fine except when the data of comes from ajax. In the following sample code, if I click the menu1, the content is updated with html but the stripped class will not fit into. That means odd and even class are not added to. I need to the fol

Re: [jQuery] content slider like www.metalabdesign.com

2009-12-06 Thread waseem sabjee
each menu item on the left has a corresponding div tag. all but the first one is hidden. you can use slideUp and slideDown to switch between them. it will produce that same effect. its just a vertical tabber :) On Sun, Dec 6, 2009 at 5:00 PM, felicita wrote: > Hi; > I want to insert my content

[jQuery] Ajax calls with jQuery

2009-12-06 Thread factoringcompare.com
Hi Guys’ I have hit a complete brick wall on this one. I have an ASP page that lists out a DB into 3 columns. Each row has a unique ID number. When the user updates a checkbox I would like to fire off an AJAX update to my DB. I have made the page that’s ready to receive the unique ID Number and

[jQuery] [validate] remote validations with two depending text boxes

2009-12-06 Thread david
Hi all, I have a for two text boxes. They are one entity for a check. I check the two text boxes together. I made it in the following way that i added for both of them one class and added a rule. My problem is the following. I have text-box a and textbox b. For a certain value of textbox a textbox

[jQuery] Help with appending div to root item only

2009-12-06 Thread Valkesh
Hi Ive got my menu displayed on this site http://valkesh.000space.com. The issue I am having is that I want the hover image (red part) to be displayed only when hovering the root li, and not all subsequent li items in the menu.. because as you may see now, even when hovering the li in the submenu

[jQuery] [validate] remote validation on empty field

2009-12-06 Thread david
Hi all, I want to make a remote validation on an empty field. Sometimes the field may be empty and sometimes not. This depends on the selection of other elements. I send them with the data hash of the remote method. The response should be written next to the empty field. As i understand, by defaul