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

2009-12-07 Thread Richard D. Worth
On Sun, Dec 6, 2009 at 9:19 PM, Joshua Partogi joshua.part...@gmail.comwrote: On Dec 7, 12:36 pm, evanbu...@gmail.com 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');

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

2009-12-07 Thread Greg Tarnoff
Sorry, I should have been more clear. Setting work to .6 and the children to 1 won't work. The children then become 100% of their parent. Also opacity can't be set beyond 100%, so you can't go 1.4. I have tried all of these before in previous projects with absolute fail. That being said, other

[jQuery] Include jquery in Google Chrome userscript

2009-12-07 Thread Kia Niskavaara
Google Chrome doesn't support @include. Is there another way to include jquery into a userscript? I've searched, but haven't found anything about this. / Kia

[jQuery] Re: Filtering table cell values

2009-12-07 Thread evanbu...@gmail.com
Thank you, Brian. This is almost exactly what I needed. The only change I had to make was that I don't want retired people highlighted if ($('td:nth-child(7)', $(this)).text().text().toLowerCase() != 'retired') I'm still amazed at the power and flexibility of jQuery. On Dec 6, 10:21 pm,

[jQuery] previous

2009-12-07 Thread lennon1980
Hello, I want to find all previous elements in the DOM (not parent elements) of element called 'feature' $('#feature').prevAll(); // something like this But I want to find all previous divs that have a css class assinged to them. the first previous div it finds I want to be able to retrieve

Re: [jQuery] When plugin ajaxform meets FCKeditor.

2009-12-07 Thread Carlos De Oliveira
Hi, I think the problem is the FCKEditor, that converts textareas into styled html elements, The code it's very obstrusive and may be the cause of Jquery Posts. First, you must try make the post without using FCKEditor. -- Carlos De Oliveira Departamento De Sistemas Consultor Senior 0426 517

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

2009-12-07 Thread Carlos De Oliveira
This is a JQuery Forum.

Re: [jQuery] how to use keypress click function together...

2009-12-07 Thread Carlos De Oliveira
You must use keyevents, something like this to get key events in specified fields. $(input).*keypress*(function (e) { if (e.which == 13) { } else if (e.which == 8) { // backspace in IE only be on keydown $(p).children

Re: [jQuery] Tips and tricks for fixing memory leaks

2009-12-07 Thread Carlos De Oliveira
try to use *.min *codes (minimized versions of .js), also may remove Jquery UI sections from *JQuery.ui.min.js*. -- Carlos De Oliveira Departamento De Sistemas Consultor Senior 0426 517 73 01 0212 204 69 60 cdeolive...@grupozoom.com card...@gmail.com

[jQuery] Re: how to use keypress click function together...

2009-12-07 Thread Scott Sauyet
On Dec 6, 11:31 am, Erdem erde...@gmail.com wrote: i want ajax to make same when hit enter or click submit button $(#myForm).submit(/* your function here */); http://docs.jquery.com/Events/submit#fn Cheers, -- Scott

Re: [jQuery] Tips and tricks for fixing memory leaks

2009-12-07 Thread Olivier Percebois-Garve
Is it a leak or a pseudo-leak ? leak - page is being reloaded pseudo-leak - no reload First you should know that firebug leaks a lot of memory, so you should perform your memory test with firebug disabled, ideally with all ff plugins disabled. The first and easiest to spot source of

[jQuery] Re: Tips and tricks for fixing memory leaks

2009-12-07 Thread James Gibson
Hey Guys, Thanks for the replies. I am using YUI to minify and obfuscate all of my javascript and css in our production environment. I will use these tips and see what i come up with. Thanks again, James On Dec 7, 10:48 am, Olivier Percebois-Garve perceb...@gmail.com wrote: Is it a leak or a

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

2009-12-07 Thread Scott Sauyet
On Dec 7, 10:24 am, Carlos De Oliveira cdeolive...@grupozoom.com wrote: This is a JQuery Forum. And the question is about Jörn Zaefferer's Validation plug-in, certainly on-topic here. Unfortunately, I haven't used either of the CAPTCHA's under question, nor had much experience with the

Re: [jQuery] Tips and tricks for fixing memory leaks

2009-12-07 Thread Michael Geary
Minifying your code and removing unused code are good ways to reduce your initial memory footprint, but they won't have any effect on memory leaks. A memory leak is when the browser's memory use continues to increase, either as as you interact with a page or when you reload the page or navigate

[jQuery] Re: Tips and tricks for fixing memory leaks

2009-12-07 Thread James Gibson
Thanks for the post Mike. It seems that I have already solved my own problem. It seems that when I have my application in a production ready state (all 50 js files combined, minified and obfuscated) firefox stops using extra memory. It seems weird that just using YUI compressor would resolve this

[jQuery] Re: Can you limit selector to only search within current element?

2009-12-07 Thread TehNrd
Thanks Dhruva! This works wonderfully. I looked right over the find function. I noticed that you put stars (*) around the find function. I don't have these at it seems to work fine. Do these serve a purpose or did you simply place them there to highlight the area needing the change? Thanks

[jQuery] Re: Can you limit selector to only search within current element?

2009-12-07 Thread TehNrd
Looks like that asterisk (*) were there just to show the area needing the change as it does not work with them present. On Dec 7, 9:03 am, TehNrd jason.vena...@gmail.com wrote: Thanks Dhruva! This works wonderfully. I looked right over the find function. I noticed that you put stars (*)

[jQuery] Positioning of nested child elements when using sliders/carousels?

2009-12-07 Thread O.J. Tibi - @ojtibi
Hi, I'm having a problem on how to properly position child elements of a particular sliding element when using a slider or carousel. Common practice with these sliders and carousels is that they enclose the target container (commonly a ul) with another masking container, to effectively clip and

[jQuery] Validate with accordian?

2009-12-07 Thread gtlitc
I have a website questionnaire/website planner that I intent to use with prospective clients. You can view it under development here: http://www.smallblue.net/questionnaire.html The form is split in to sections and want to use an accordian effect so that ony 1 section is visible at a time. At

[jQuery] Creating multi-select Dropdown Checkbox-list

2009-12-07 Thread nicobocco
I'm trying to create a Dropdown Checkbox-list which is very similar to this example. Please, pay attention to the Tags section of Search Articles http://www.codeproject.com/info/search.aspx Additional to above features, I want to add an option firstItemChecksAll for each group i.e. select All

[jQuery] Coda slider not staying in category selected.

2009-12-07 Thread chrish
1- When I select a category a group of videos appear in the coda slider ... as soon as a video is selected, it reverts back to the original category, not the one that i selected. If i want another video in the category i have to reselect that category and on and on. I would like this to stay in

[jQuery] [autocomplete] extraParams with

2009-12-07 Thread stoffus
I can't seem to find an answer to this question anywhere. When using extraParams, is it possible to refer to the element triggering the autocompleter? For example; $(input.element).autocompleter(ajax.php, { extraParams: { $(this).parent(form).attr(name) } }

[jQuery] Superfish with Image Tabs

2009-12-07 Thread Steve Daly
I don't have much experience with CSS. I am using Superfish for a tabbed navigation. I need to use images for my tabs because of design. I need to keep an on image while the submenu is open. How can this be done?

[jQuery] Superfish - leave current path open?

2009-12-07 Thread t.hinze
I am using Superfish and I think this menu is a nice think. But now I have a problem: I want to say Superfish Please let the current Path open and dont close it at leave the menu/item. How can I do this? Regards, T.Hinze

[jQuery] Document undefined error

2009-12-07 Thread Firefox
Hello I have recently been tasked with making sure the following script works with our environment. http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js The script appears to run under Firefox with no problems at all. However when running under IE (any version) I first get asked if

[jQuery] [jquery] Beginner's Question: How write text output that stays

2009-12-07 Thread Beginner
Hi, currently I write text like this: $(document).ready(function(){ $(#XXX).click(function(event){ document.write(TESTOUTPUT); }}); Unfortunately the text testoutput will immediately disappear after the click event passed. Is there a remedy for that? I need it to appear after a

[jQuery] Re: When plugin ajaxform meets FCKeditor.

2009-12-07 Thread Scott Sauyet
Testing

[jQuery] Re: When plugin ajaxform meets FCKeditor.

2009-12-07 Thread Scott Sauyet
I haven't used ajaxform, but I think this means that you can do something like this: $(#myForm).bind(form-pre-serialize, function() { // put the data from the editor back into the form. }); How to actually get the necessary data from CK you'll have to look at the CK editor's

[jQuery] Re: Beginner's Question: How write text output that stays

2009-12-07 Thread Scott Sauyet
On Dec 7, 8:34 am, Beginner pixel.b...@gmail.com wrote: $(document).ready(function(){                 $(#XXX).click(function(event){ document.write(TESTOUTPUT); }}); Unfortunately the text testoutput will immediately disappear after the click event passed. Is there a remedy for that? I

[jQuery] Re: Document undefined error

2009-12-07 Thread Scott Sauyet
On Dec 7, 11:49 am, Firefox barrie.wh...@gmail.com wrote: I have recently been tasked with making sure the following script works with our environment. http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js [ ... ] That script is the latest release of the jQuery library. It doesn't

[jQuery] google map with jquery and php(please help me)

2009-12-07 Thread hamed7
hi i need some code like google map with jquery and php i dont want use api,i want create some page with some map for user can click on map and save some information on map and show like google map.

[jQuery] Re: google map with jquery and php(please help me)

2009-12-07 Thread StephenJacob
I'd suggest checking out the Google API documentation for examples. You can also look into some jquery google map examples at ajaxrain.com ... but i think you'll find more things useful at the google api site. http://code.google.com/apis/maps/documentation/index.html

Re: [jQuery] Re: Document undefined error

2009-12-07 Thread Michael Geary
I'd like to add one thing to Scott's very informative reply... You may wonder, But I wasn't trying to run the script from the Windows command prompt! I pasted it into the IE address bar and that's when I was prompted to open or save it. Like the doctor said, If that hurts, don't do it. The

Re: [jQuery] Ajax calls with jQuery

2009-12-07 Thread Michael Geary
We need to see something closer to a real-life example. There's a bit too much missing in the code you posted. In particular, what does the page look like when it actually has more than one row from your DB in it? I can't tell which part of your HTML would be repeated per row. What is the exact

Re: [jQuery] Superfish - leave current path open?

2009-12-07 Thread Charlie
open and hide are controlled by 2 functions. You would need to rewrite the function hideSuperfishUl() which is at bottom of the js file t.hinze wrote: I am using Superfish and I think this menu is a nice think. But now I have a problem: I want to say Superfish "Please let the current Path

[jQuery] Re: previous

2009-12-07 Thread Scott Sauyet
On Dec 7, 10:23 am, lennon1980 ja...@publiczone.co.uk wrote: I want to find all previous elements in the DOM (not parent elements) of element called 'feature' [ ... ] But I want to find all previous divs that have a css class assinged to them. the first previous div it finds I want to be able

Re: [jQuery] Re: Document undefined error

2009-12-07 Thread Michael Geary
One more comment... If you can tell us exactly what you mean by I have recently been tasked with making sure the following script works with our environment, then we can probably help you with more specifics. Do you have web developers who will be using jQuery in your web pages? Or what is it that

[jQuery] TextArea formatting

2009-12-07 Thread James W
Hello, I am posting a contact form via ajax to a classic asp page. If I post the following in the comments: Line1 Test Line2 Test Line3 Test Line4 Test The results emailed in the form are as follows Line1 Test Line2 Test Line3 Test Line4 I have tried updating the asp page and replacing the

Re: [jQuery] Re: google map with jquery and php(please help me)

2009-12-07 Thread Charlie
This set of many tutorials is one of the best Google map resources you can find: http://econym.org.uk/gmap/ StephenJacob wrote: I'd suggest checking out the Google API documentation for examples. You can also look into some jquery google map examples at ajaxrain.com ... but i think you'll

[jQuery] Code Optimization

2009-12-07 Thread specik
Hey all, I recently completed a re-design of my site (http:// specik.theatypical.net/) and I used quite a bit of jQuery animation and AJAXing. However, I'm wondering if anyone can give me a few pointers on how to make my code (below) more efficient. It feels a little bulky at the moment. Any help

[jQuery] Newby question - jquery tablesort demo

2009-12-07 Thread Don Moore
Hello all, I'm an experienced LAMP developer and I am having trouble getting the tablesort demo working. http://tablesorter.com/docs/ I hope this is the correct list to be asking this - if not please advise. I have been attempting to get this to work for a couple hours and the instructions

[jQuery] Newby question - jquery tablesort demo 2 (forgot link to my site)

2009-12-07 Thread Don Moore
Hello all, I'm an experienced LAMP developer and I am having trouble getting the tablesort demo working. http://tablesorter.com/docs/ I hope this is the correct list to be asking this - if not please advise. I have been attempting to get this to work for a couple hours and the instructions

[jQuery] : FileUpload Problem

2009-12-07 Thread jayakumar ala
Hi All, I am using the following code to upload file and add the file tag dynamically for my application. Jquery doen't seem to be working for the dynamically added file. Any help is appreciated. html script type=text/javascript src=js/jquery.js/script script type=text/javascript

[jQuery] Help... anyone!

2009-12-07 Thread Mike
Before I dive into my issue, I just finished reading Learning jQuery 1.3 and decided to go full fledged and create my first site implementing jQuery only! I had a little experience before this but found that jQuery is a lot of fun and easy to implement, even for a semi noob. (maybe a total noob

[jQuery] Selector fails and works

2009-12-07 Thread Beardsley Ruml
Sorry that this take a while to demonstrate but it's a complete puzzle (to me)! I would like to determine whether there are any checked radio buttons within the div selected_courses in the following HTML: div id=selected_courses div class=course input type=radio name=1st .. /

[jQuery] Having issues with selecthing $(this).find('.classname') with webkit browsers (Chrome/Safari)

2009-12-07 Thread Leonard Teo
Hi guys, I'm looking for a workaround... I'm having some issues with the following code: //Navbar hover $('.toplevel').hover( function(event){ $(this).find('.secondlevelcontainer').fadeIn(500); -- doesn't work in Safari/Chrome

[jQuery] Problem with images loaded dynamically

2009-12-07 Thread jlee
Hi, I'm stuck here - I'm trying to load images dynamically on my website, but for some reason the method I use works on a server on my local computer, but behaves very strangely on a remote server... I use this code to load the images: function replaceImage(imgName, container) {

[jQuery] Email validation

2009-12-07 Thread Simon Brown
I have been trying to get an email on a form validated. If I use - var email = $(input#email).val(); if (email == ) { $(label#email_error).slideToggle(slow); $(input#email).focus(); return false; } Everything works fine. But I cannot seem to get it to work with an email expression like this

[jQuery] New site with jquery: Cpluv

2009-12-07 Thread Escape-Artist
Hey all! We just finished a site that is using a whole lot of jquery ( for ajax submit, tabs, dialogs, transitions, DOM manipulations, ... ) The site is called http://www.cpluv.com/ cpluv The site is built around the Zend framework. You can check out more about us: Shaperstudio on

Re: [jQuery] Newby question - jquery tablesort demo 2 (forgot link to my site)

2009-12-07 Thread aquaone
You're invoking tablesorter twice. Just keep the second line. script type=text/javascript $(document).ready(function() { $(#tablesorter).tablesorter(); $(#tablesorter).tablesorter( {sortList: [[0,0], [1,0]]} );

[jQuery] Re: New site with jquery: Cpluv

2009-12-07 Thread RobG
On Dec 8, 10:51 am, Escape-Artist tho...@shaperstudio.com wrote: Hey all! We just finished a site that is using a whole lot of jquery ( for ajax submit, tabs, dialogs, transitions, DOM manipulations, ... ) Yeah! Great site! All I got was: Sorry, you need the flash player to see this page! (

[jQuery] jCarousel, change content on the fly

2009-12-07 Thread Nathan
Hello, I'm trying to use the jCarousel plugin (http://sorgalla.com/projects/ jcarousel). It works fine for me, except I would like to change the content of the carousel using a drop-down. For example, by default I load the product previews of category1 (that's easy). But then, I have a simple

[jQuery] jQuery Media plugin working in ie but not chrome, ff, opera

2009-12-07 Thread kevin144
I'm new to jQuery and the jQuery media plugin. I'm trying to validly embed video content in my site for a school project Do you have time to look at my site? It validates. http://www.kevingugan.net/Preparedness/index.html is the page where I am testing a .mpg file Thanks in advance for any

[jQuery] Filtering on hidden contents

2009-12-07 Thread wandrian
I am trying to figure out if all the child divs of a containing div are hidden and if so I then want to hide the parent containing div. I am trying some thing like this: $('div.location').filter(function(){ return (($this*:visible).length==0) }).hide(); Obviously this

[jQuery] Very Strange !!! The same HTML code works well, but append() it not !!!

2009-12-07 Thread Eric Zhong
html head script src=http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/ jquery.js/script SCRIPT LANGUAGE=JavaScript !-- $(function(){ // /* var html_video = ' \ table id=tb_all width=724px \ tr

[jQuery] Getting width of menu outputs incorrect size

2009-12-07 Thread Niels
Hope someone can help me with this. I'm using superfish with the supersubs plugin. - Aim - To apply a width to a div that contains the menu ul so it can be centered using css (auto margins). - Method

Re: [jQuery] New site with jquery: Cpluv

2009-12-07 Thread Escape-Artist
Which site are you talking about? There's no flash on the cpluv site. flash based splash page are indeed a thing of the past, and we didn't use any. If you're reffering to the Shaperstudio site, then yeah it's all in flash ( not a splash page ). RobG-2 wrote: On Dec 8, 10:51 am,

[jQuery] Re: Cycle plugin postback problem in ASP.Net

2009-12-07 Thread Michael
Anyone have an ideas or advice? Mike On Dec 1, 9:10 am, Michael mikedr...@gmail.com wrote: Hi Everyone! I have encountered an issue trying to use the cycle plugin to show a very simple image slideshow in ASP.Net. I have the cycle plugin in a master page and it works great until a postback is

[jQuery] Re: Very Strange !!! The same HTML code works well, but append() it not !!!

2009-12-07 Thread seasoup
javascript cant read strings over line breaks. $(#tb_video).append(' \ tr \ tdinput type=checkbox //td \ td' + d.name + '/td \

[jQuery] The target HTML code works very well, but append() not !!!

2009-12-07 Thread Eric Zhong
when you run the code below, you'll get a very strange result. But if you run the target html that be commented, it works very well , what happen ??? Help!!! = html head script

Re: [jQuery] Re: Very Strange !!! The same HTML code works well, but append() it not !!!

2009-12-07 Thread Michael Geary
Don't be so sure about that. I thought the same thing you did, but we were both wrong: you *can* write multline strings in JavaScript. Backslash-newline works inside a string just like it does outside one in normal JS code. You do have to be careful; there can't be any whitespace after the

[jQuery] IE Fade in-out problem

2009-12-07 Thread kbuntu
I finally got the code working. Everything is working fine in all the browsers FF, Safari, Chrome but not in IE. Does anybody have an idea what could be the problem? Thank you. script type=text/javascript $(document).ready(function() {

Re: [jQuery] Re: Very Strange !!! The same HTML code works well, but append() it not !!!

2009-12-07 Thread Eric Zhong
i have modified the code , but the result is the same, even if i write this in one line !!! Help !!! one line version: html head script src=http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js /script SCRIPT