Re: [jQuery] FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!!!!!

2010-02-22 Thread brian
SPECTACULAR NEWS! So, um ... don't keep us in suspense. On Sun, Feb 21, 2010 at 2:45 PM, Erik eriks...@mac.com wrote: For months I couldn't figure this out and I found the answer dd_roundies can now work with IE8!!! Erik

Re: [jQuery] DD_roundies

2010-02-07 Thread brian
Anchors are inline elements. Try giving it display: block (or inline-block). On Thu, Feb 4, 2010 at 7:12 PM, Erik eriks...@mac.com wrote: Hello everyone... I'm using DD_roundies for IE round corners and it works great.  BUT, I cant seen to figure out how to make the following work: a

[jQuery] 1.4.1 bug? jwysiwyg uncaught exception

2010-01-30 Thread brian
jquery-1.4.1 Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7 Using Scott Storborg's fork of jwysiwyg [1], when loading a form through $.ajax() the editor area cannot get focus. If I open the source pane and type in there, once I then close

[jQuery] Re: 1.4.1 bug? jwysiwyg uncaught exception

2010-01-30 Thread brian
for clarity $(this).parent('.CommentMeta') .append($('#comment_form')) .hide() .slideDown('slow'); }); On Sat, Jan 30, 2010 at 9:53 PM, brian zijn.digi...@gmail.com wrote: jquery-1.4.1 Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7

[jQuery] Re: 1.4.1 bug? jwysiwyg uncaught exception

2010-01-30 Thread brian
My apologies. I meant to also say that I tried it using jquery-1.3.2 with the same bad result. So I have no clue where the trouble lies. On Sat, Jan 30, 2010 at 11:04 PM, brian zijn.digi...@gmail.com wrote: A little update to this. I tried a different approach, hiding the form at the bottom

Re: [jQuery] Implementing JCrop in Ajax Upload

2010-01-28 Thread brian
What do you mean by, the image selection doesnt work? Can you give a clearer description o fwhere you think the problem lies? Are you certain that the path sent back from the server is correct? What does alert(data.path) show? On Wed, Jan 27, 2010 at 8:21 PM, adi sembiring

Re: [jQuery] JQuery Ajax serialize

2010-01-24 Thread brian
Use parse_str(). But beware that that string has a problem: ?php header('Content-type: text/plain'); $str = 'single=Singlemultiple=Multiplemultiple=Multiple3check=check2radio=radio1'; /* old school way: explode() into pairs, then explode each of those into * key = val */ $pairs = explode('',

Re: [jQuery] Using variable in animate()'s properties

2010-01-24 Thread brian
You're repeating a bunch of code here. It'd be better to assign a variable for the img at the beginning of the function. function() { var img = $(this).find('img'); var value = (direction =='top' || direction=='bottom') ? img.outerHeight() * -1

[jQuery] MarkItUp image upload

2010-01-23 Thread brian
I've just created an improved image widget for the MarkItUp editor[1]. Instead of being prompted for an existing URL for the src attribute, a file upload form is created. The form target a hidden iframe. An online script should return the URL, as well as the final width height. When the iframe

Re: [jQuery] New Forums

2010-01-21 Thread brian
On Thu, Jan 21, 2010 at 7:28 PM, Shawn sgro...@open2space.com wrote: My apologies to the list managers.  I did not mean to belittle their efforts in any way.  I only meant to state that for me, personally, forums are not the preferred tool. I am involved in a number of organizations where the

Re: [jQuery] Re: JQuery and AJAX Heartbeat question

2010-01-19 Thread brian
...@gmail.com wrote: Thanks for your tips brian and scott. set_time_limit(0); The expected value is integer seconds. A value of 0 disables the time limit altogether. If i try set_time_limit(20); it gives me an 500 error after 20 seconds, but if i set the value to 60 seconds, i still get a server

Re: [jQuery] JQuery and AJAX Heartbeat question

2010-01-18 Thread brian
Put this near the top of your PHP script: set_time_limit(0); The expected value is integer seconds. A value of 0 disables the time limit altogether. On Mon, Jan 18, 2010 at 4:25 PM, mind01 mindproduction...@gmail.com wrote: Hi there, I have a PHP script called zip.php to generate a zip file.

Re: [jQuery] Passing in a parameter

2010-01-17 Thread brian
Do you have some function inside of the ready() block that you could pass the data to instead? Could you post some of your code? On Sat, Jan 16, 2010 at 11:57 PM, Patrick kenned...@gmail.com wrote: Hi all, I have a newbie question. You know how you can pass a variable to a JavaScript function

Re: [jQuery] Jquery DOM

2010-01-17 Thread brian
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F On Sun, Jan 17, 2010 at 10:50 AM, Louie39 loui...@gmail.com wrote: I have a form that is using jqury to post data (ajax) to another page and returns the result, but after the new content is

Re: [jQuery] New Forums

2010-01-16 Thread brian
On Sat, Jan 16, 2010 at 6:51 PM, Matt Quackenbush quackfu...@gmail.com wrote: I concur regarding mailing list vs. forum.  Both have their positives and negatives, but these days I definitely prefer a mailing list over forums. Perhaps the jQuery team could not find another mailing list that

Re: [jQuery] ^=, $=: how to use?

2010-01-16 Thread brian
Like this, for example: $('input[id$=3]').change(function() { alert('foo'); }); But it really depends on what you want to do. With the above, you'd need to specify as many change() handlers as you have inputs. Another way would be to have a generic handler and, inside that function, have

Re: [jQuery] $(ul li a).hover

2010-01-14 Thread brian
On Thu, Jan 14, 2010 at 9:53 PM, J jesseparent...@gmail.com wrote: Hi, Im new to jquery. I have a .hover that is applied to all ul li a $(ul li a).hover Question: How can I apply the .hover to a specific class or id? I tried something like this but it didn't work for me: $(#test ul li

Re: [jQuery] $(ul li a).hover

2010-01-14 Thread brian
On Thu, Jan 14, 2010 at 10:06 PM, brian zijn.digi...@gmail.com wrote: On Thu, Jan 14, 2010 at 9:53 PM, J jesseparent...@gmail.com wrote: Hi, Im new to jquery. I have a .hover that is applied to all ul li a $(ul li a).hover Question: How can I apply the .hover to a specific class or id

Re: [jQuery] Find array key of value

2010-01-12 Thread brian
I'm not sure that I follow that but one thing that might help is to store JSON objects in the array instead of just the src: $( .images img ).each( function(i) { imgArray.push( src: $(this).attr( src ), key: i ); }); Then, when retrieving the new src you can also get the key/index.

Re: [jQuery] added form elements not sent using Firefox

2010-01-12 Thread brian
If you have multiple inputs with the same name be sure to add square brackets to the name so that the browser sends an array of values. single: input type=text name=foo / multiple: input type=text name=foo[] / input type=text name=foo[] / Also, fyi (and most likely unrelated), when copying DOM

Re: [jQuery] Altering cloned HTML's ID values

2010-01-12 Thread brian
See this thread: http://groups.google.com/group/jquery-en/browse_thread/thread/ce535e6bc3c8ef34 On Tue, Jan 12, 2010 at 10:15 AM, Sloan Thrasher sl...@sloanthrasher.com wrote: Hi, I've got a table where I'm adding rows using clone and appendTo. After cloning, I need to change the ID of

Re: [jQuery] [apycom Menu] Submenu items showing as top level items in IE

2010-01-10 Thread brian
W3.org's validator shows 163 errors and 46 warnings. Best you get the page to validate first as this may be caused by invalid/broken markup. On Sun, Jan 10, 2010 at 2:55 PM, speedpac...@gmail.com speedpac...@gmail.com wrote: Hi, I'm using the (paid) version of Apycom's jQuery menu; you can

Re: [jQuery] reference dynamically loaded form select

2010-01-09 Thread brian
Set the event handler on the select at the time it is added to the DOM. http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F On Fri, Jan 8, 2010 at 1:49 PM, sonicDivx sonicd...@gmail.com wrote: Been trying to find the best answer to a problem

Re: [jQuery] Accessing value of a dynamic added input

2010-01-09 Thread brian
$(this).val() should work just fine. There must be some other issue. Are you sure the HTML is correct (eg. options all have values)? On Sat, Jan 9, 2010 at 5:55 PM, -null- suzanne.bo...@gmail.com wrote: I'm adding an input and select box to a div by setting the div's html.  I then attach a

Re: [jQuery] :contains nbsp; in IE doesn't seem to work

2010-01-08 Thread brian
Do these cells contain *only* the nbsp? If so, you could go at it another way: $('td:last-child').each(function() { if ('' == $(this).text().trim()) { $(this).parent().addClass('markeme-sub'); } }); On Fri, Jan 8, 2010 at 7:41 AM, Jonatan jona...@kig.se

Re: [jQuery] My table tags are getting stripped out.

2010-01-08 Thread brian
I can't see what might be causing that although you could change these 2 lines: $('#CalendarBody').children().remove(); $('#CalendarBody').append(response); ... to: $('#CalendarBody').html(response); That's if you're not using thead, tfoot, and tbody tags, of course. On Fri, Jan 8, 2010 at

Re: [jQuery] Re: highlighting

2010-01-07 Thread brian
var $target = $(this.hash); $target.addClass('SomeClassName'); ... On Thu, Jan 7, 2010 at 10:02 AM, metalmini metalm...@gmail.com wrote: Euh... oke and in what way do i implement that? Can you give me a example? Thanks for the reply btw :-) On Jan 7, 1:01 am, brian zijn.digi...@gmail.com

Re: [jQuery] Replacing HTML Content for Elements of a Certain Class

2010-01-07 Thread brian
see here: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F http://docs.jquery.com/Plugins/livequery Essentially, you either need to deal with this in the load() success callback or use live(). However, i can't remember if live() works for

Re: [jQuery] highlighting

2010-01-06 Thread brian
$target.css('...') Or, better: $target.addClass('SomeClassName'); On Tue, Jan 5, 2010 at 10:35 AM, metalmini metalm...@gmail.com wrote: Hi guys and galls, Im not really a jquery programmer but i build lots of sites and i love the jquery plugins that i can easily copy and paste. So anyway im

Re: [jQuery] Re: urgent help

2010-01-06 Thread brian
Or, at minimum, an example or two of the errors encountered. On Wed, Jan 6, 2010 at 7:13 AM, MOZ pbe...@gmail.com wrote: link to demo? On Jan 6, 3:49 am, Sugi sugi...@gmail.com wrote: I am using Jquery plugins like flowplayer,fancy plugin for image and video stuffs...It creates lot of erros

Re: [jQuery] form validation

2010-01-06 Thread brian
Set up the handler when the form is created: $(#the_form_id).validate(); You might also want to have a look at the Jeditable plugin: http://www.appelsiini.net/projects/jeditable On Wed, Jan 6, 2010 at 10:25 AM, John Albright trumpetman...@gmail.com wrote: Is it possible to use the jquery

Re: [jQuery] Position div accounting for screen size/resize

2010-01-06 Thread brian
Bind a handler for the resize event like so: $(window).bind('resize', function() { ...}); Have a look at this thread: http://groups.google.com/group/jquery-en/browse_thread/thread/4a00d513c63f5c00?pli=1 On Wed, Jan 6, 2010 at 11:08 AM, kevinkace kevinacame...@gmail.com wrote: Can you change a

Re: [jQuery] How to append a ul li to line of orphan text?

2010-01-05 Thread brian
On Tue, Jan 5, 2010 at 1:01 AM, Tong naateepart.premnitthip...@gmail.com wrote: Hi, I have the following HTML: div id=text  strongSome Text Here/strong: More Text Herebr /  strongSome Text Here/strong: More Text Herebr /  strongSome Text Here/strong: More Text Herebr / /div How could I

Re: [jQuery] New to JS and jQuery

2010-01-05 Thread brian
That works for me but I do see how this can be refactored: a id=stuff class=baritem href=#stuff_menuMy Account/a div id=stuff_menu class=SomeClass a href=##My Account/a a href=##More stuff/a a href=##Here is a menu item/a a href=##Here is a menu item/a a

Re: [jQuery] retrieving textnode?

2010-01-05 Thread brian
CSS only operates on tagged elements. You'll have to wrap the text node in a span (with a certain class, for example). On Tue, Jan 5, 2010 at 2:00 AM, bundy ctil...@hinet.net.au wrote: Hi, I'm new to jQuery, finding feet. I want to be able to say, if the text node of a certain child consists

Re: [jQuery] Change opacity of item with class of selected

2010-01-05 Thread brian
Just put the class in the selector instead of testing for it first: $(#portfolio #thumbs li.selected).css('opacity','0.5'); If the class doesn't exist, jQuery will do nothing (instead of throwing an undefined error or similar). On Tue, Jan 5, 2010 at 12:45 PM, Paul Collins

[jQuery] Taconite eval blocks referencing other parts of XML document

2010-01-03 Thread Brian Moquin
of accessing the current XML document from within a Taconite eval block without using a global variable, i.e., omitting the parts in blue above? Thanks, Brian

Re: [jQuery] jquery.js and jquery-1.2.6.pack.js conflict

2009-12-31 Thread brian
You should only load one of those files. The version included with jCarousel is there as a convenience. It's not necessary to use it if you already are loading jQuery. It's likely the unpacked version is newer, anyway. On Thu, Dec 31, 2009 at 7:21 AM, Mr.Aaqib mr.aa...@gmail.com wrote: Hi,

Re: [jQuery] Re: simplemodal next/back functionality

2009-12-31 Thread brian
On Thu, Dec 31, 2009 at 2:13 AM, nevgenevich nevgenev...@gmail.com wrote: it generates the link properly, when clicking on it: it closes the modal but does nothing else. i can verify with a console.log that it gets to after the call to open the previous modal, but it doesnt open anything.

Re: [jQuery] Re: Help on Independent DIV's that toggle!!

2009-12-30 Thread brian
On Tue, Dec 29, 2009 at 11:11 PM, Erik eriks...@mac.com wrote: Brian, It looks like you just added  $(this).next That, and used class names in the selector, rather than a unique ID, so that it operates on a set of elements. Using next() assumes that each link comes just before the div

Re: [jQuery] If radio button checked - do stuff

2009-12-30 Thread brian
You have some redundancy there. Selecting on ':radio' is unnecessary because you're also selecting for the element name. And the ':checked' is no good because that limits this to elements that have already been checked. That's likely not the desired behaviour. Try: $('form

Re: [jQuery] simplemodal next/back functionality

2009-12-30 Thread brian
Given the following HTML: ul lia href=# class=Foo id=oneone/a/li lia href=# class=Foo id=twotwo/a/li lia href=# class=Foo id=threethree/a/li lia href=# class=Foo id=fourfour/a/li lia href=# class=Foo id=fivefive/a/li /ul div class=Bar

[jQuery] animate() not working for opacity in IE

2009-12-30 Thread Brian
I'm trying to animate a div from 100% opacity to 40% opacity WITHOUT using fadeTo(). I need to use animate(). It works fine in chrome/FF/safari, but in IE, the opacity doesn't animate, it simply changes to that after the animation is done. Happens in IE 7 and 8. I'm doing this:

Re: [jQuery] jquery and tomcat

2009-12-30 Thread brian
jQuery is a client-side framework. Your host provider should not be at all an issue. Perhaps you're confusing Java with Javascript. They are completely separate things. On Wed, Dec 30, 2009 at 1:07 PM, jason jason.mell...@gmail.com wrote: hello, i am looking to begin web development after a bit

Re: [jQuery] Re: sorting columns using jquery. noob with html and java. built custom php using snmp

2009-12-29 Thread brian
Leave it in the PHP file. The tablesorter file should be left clean. Think of it as a library that you include. The snippet of code you referred to is something that makes use of that library. Don't be fooled by the script tags. While the file is a PHP script, any PHP code is parsed on the server.

Re: [jQuery] Multifile - help

2009-12-29 Thread brian
You shouldn't need more than one file element to begin with. The plugin takes care of creating new ones. Or, perhaps I don't understand what it is you're trying to do. On Tue, Dec 29, 2009 at 1:27 PM, jayakumar ala alajay...@gmail.com wrote: Anyone can help me on this.. On Mon, Dec 28,

Re: [jQuery] Multifile - help

2009-12-29 Thread brian
=addFileButton / /div /form /body /html On Tue, Dec 29, 2009 at 4:33 PM, jayakumar ala alajay...@gmail.com wrote: Brian,  I our requirement i need to add this file elements dynamically for each file path. And for each element i need the count of files that are uploaded under that filepath. Hope you

Re: [jQuery] Help on Independent DIV's that toggle!!

2009-12-29 Thread brian
Use classes: !DOCTYPE html html dir=ltr lang=en-CA script type=text/javascript src=http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js;/script script type=text/javascript $(document).ready(function() { $('.SomeOtherClass').hide(); $('a.SomeClass').click(function()

Re: [jQuery] Finding next element

2009-12-27 Thread brian
Use prev() and next(). Look at the traversing section of the docs: http://docs.jquery.com/Traversing On Sun, Dec 27, 2009 at 7:30 PM, Toaster mr.toas...@gmail.com wrote: Hello. Example: ul      lia/li      lia class=active/li      lia/li /ul How would I be able to get find the next or

Re: [jQuery] window.parent.document.getElementById('msgAlert').innerHTML

2009-12-24 Thread brian
Try this: $('#msgAlert').html() On Tue, Dec 22, 2009 at 9:13 PM, ajijogja ajijo...@gmail.com wrote: hi... im aji n im newbie in jQ . . i want to know how use jQ with this : window.parent.document.getElementById('msgAlert').innerHTML . . thx be4

Re: [jQuery] toLowerCase method works in Google Chrome but not IE

2009-12-24 Thread brian
The first thing I would do is inspect cookieMood. Obviously, it exists, or the code wouldn't reach that line. But, perhaps it isn't a string, as you expect. On Wed, Dec 23, 2009 at 9:50 PM, ArnieML arnie.lapi...@gmail.com wrote: Hi, Code snippet is as follows: function

Re: [jQuery] SimpleModal overlay does not cover entire screen

2009-12-24 Thread brian
Your CSS is my first guess. I'm thinking that you've given your BODY (or HTML) element a set width and margins. Try using a wrapper element instead to create the content area. On Thu, Dec 24, 2009 at 8:36 AM, JavaEsse lugosam...@gmail.com wrote: Hello, I am using SimpleModal 1.3.3.  In IE6,

Re: [jQuery] Jquery + ie7 spans

2009-12-24 Thread brian
Does it work if the span does not have linebreak before it? On Wed, Dec 23, 2009 at 6:05 AM, Alex Mcauley webmas...@thecarmarketplace.com wrote: Morning and happy holidays!.. I am having some trouble with jQuery and IE7 quirks (suprise suprise).. Basically i wrote a script that truncates

Re: [jQuery] Can't get onClick on appended elements

2009-12-22 Thread brian
See here: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F On Tue, Dec 22, 2009 at 1:37 PM, Diego diegosvie...@gmail.com wrote: I have the following snippet of code: This is where I'll place the 'li' elements. ul id=file-list/ul After

Re: [jQuery] question about width from li in

2009-12-21 Thread brian
Check the options page. Does the 'nowrap' option help? http://jquery.malsup.com/cycle/options.html On Mon, Dec 21, 2009 at 6:50 AM, Lijn lijn.onl...@gmail.com wrote: I use this jquery-plugin: http://jquery.malsup.com/cycle/ Each li-tag gets a calculated width allowing the contents to 2 lines,

Re: [jQuery] unable to focus on textboxes - update panel - jqmodal - asp.net

2009-12-21 Thread brian
I don't have anything handy to test this with but I believe you could handle this with the onHide callback. Check that the text element isn't empty. If it is, return false to keep the dialog open (and display a msg, etc.) On Sun, Dec 20, 2009 at 10:38 PM, Dexter varun.dex...@gmail.com wrote:  0  

Re: [jQuery] Re: jquery.cycle /// Next function in the next button and in the pictures

2009-12-21 Thread brian
2009/12/21 Pedro Gonçalves pedrom...@gmail.com: If I assign the next id to another element function only works once. check it out: http://www.pvxg.net/unplanned/ What I want to do is for the user to be able to cycle through the pictures by clicking on them. This is what Charlie was trying

Re: [jQuery] Re: Can Tooltip return a jsp page?

2009-12-20 Thread brian
On Sun, Dec 20, 2009 at 1:15 AM, HenryRock henryloke.myetr...@gmail.com wrote: Hi Brian, I get this  return jsp:include page='legend-table.jsp'/; How come? How to fix that? Like I said, your file is not being parsed correctly. JSP is a server-side technology. Any JSP code must

Re: [jQuery] Easy Fade in Problem...

2009-12-20 Thread brian
Try putting the fadeIn() where the elements are being appended. Also, use hide() just before that. function addPerson() { //current keeps track of how many people we have. var strToAdd = 'div id=input class=ideaInputinput name=idea[] class=idea type=text/textarea name=description[]

Re: [jQuery] Generate and submit file upload form with jQuery

2009-12-19 Thread brian
Why don't you simply submit the form you are cloning from? It doesn't appear to me that you're adding anything to the new form. On Sat, Dec 19, 2009 at 10:57 AM, oli janoli...@gmail.com wrote: Hi, I want to collect some input fields that are already present in my DOM, generate a form with

Re: [jQuery] Re: Generate and submit file upload form with jQuery

2009-12-19 Thread brian
, brian zijn.digi...@gmail.com wrote: Why don't you simply submit the form you are cloning from? It doesn't appear to me that you're adding anything to the new form. On Sat, Dec 19, 2009 at 10:57 AM, oli janoli...@gmail.com wrote: Hi, I want to collect some input fields that are already present

Re: [jQuery] Can Tooltip return a jsp page?

2009-12-19 Thread brian
It's been awhile since i used JSP but the first thing I'd check is if the content was parsed correctly. When you view source, do you see the content in the JS code or do you see the JSP tag? If the latter, your JSP code isn't being parsed on the server. On Sat, Dec 19, 2009 at 10:31 AM, HenryRock

Re: [jQuery] Change Window Location, and Send REQUEST or POST Info?

2009-12-19 Thread brian
I would do all of this server-side. Have your PHP script save the requested page in the session before redirecting to the login page. Or, write the requested URL to a hidden input in the login form. On Sat, Dec 19, 2009 at 6:16 PM, Vik v...@mindspring.com wrote: Let's say a user visits my site,

Re: [jQuery] Re: Can Tooltip return a jsp page?

2009-12-19 Thread brian
() {        return jsp:include page='legend-table.jsp'/    } }); It not working... Any Idea? Thanks On Dec 20, 2:51 am, brian zijn.digi...@gmail.com wrote: It's been awhile since i used JSP but the first thing I'd check is if the content was parsed correctly. When you view source, do you see

Re: [jQuery] Re: Change Window Location, and Send REQUEST or POST Info?

2009-12-19 Thread brian
; the user has not yet logged in. There is no way to write the requested URL to a hidden input in the login form, because the login form isn''t up yet - the user is visiting some other page. On Dec 19, 3:58 pm, brian zijn.digi...@gmail.com wrote: I would do all of this server-side. Have your PHP

Re: [jQuery] Re: SlickGrid updates!

2009-12-17 Thread brian
This is very impressive. One might even call it ... slick. Very slick, indeed. I really like show tasks percentage slider. And the SparkLines example. Well done! On Thu, Dec 17, 2009 at 6:41 PM, Tin michael.leib...@gmail.com wrote: The SlickGrid source code has been migrated to GitHub:

Re: [jQuery] Call from Javascript to jQuery javascript function

2009-12-16 Thread brian
On Wed, Dec 16, 2009 at 9:17 AM, Richard D. Worth rdwo...@gmail.com wrote: No need to add another block. As you pointed out earlier, the document ready won't run until later. By the time it does, the callit function will have been defined: That's true, but I left it as 2 blocks because Wendi

Re: [jQuery] Call from Javascript to jQuery javascript function

2009-12-16 Thread brian
On Wed, Dec 16, 2009 at 11:14 AM, Michael Geary m...@mg.to wrote: In fact, within a single script tag, function definitions happen first, before any code in that script tag is executed. That's an excellent point. I was busy thinking about deferred execution and forgot about that.

Re: [jQuery] Urgent help with the validation plugin: no reaction onSubmit

2009-12-16 Thread brian
You might need to post some code. Are you using the submitHandler option at all? On Wed, Dec 16, 2009 at 7:06 AM, Andre Polykanine an...@oire.org wrote: Hello everyone, There's a form I try to validate. As there is a Nickname field, I check with the Remote method if it's already used or not.

Re: [jQuery] [ASK] jquery remove

2009-12-15 Thread brian
On Mon, Dec 14, 2009 at 11:08 PM, water [bro] mm waterb...@gmail.com wrote: and if click remove, jquery just remove a link remove not tag p please help me. That is because the this inside your click handler function refers to the link (because the handler is onclick for the link) even though,

Re: [jQuery] Viewport Scroll

2009-12-15 Thread brian
There are probably more than one way to do this with jQuery but a straight JS way would be to do: document.location = '#id_of_your_element'; On Tue, Dec 15, 2009 at 2:42 PM, Wroathe reallyto...@gmail.com wrote: Hi there! I'm using jQuery to load in some content from a separate page and I was

Re: [jQuery] How to programmatically ad a div element and animate it

2009-12-15 Thread brian
Try this: function CreateNewElement() { $('div id=div1test content/div') .appendTo('#contentContainer') .hide() .toggle('slow'); } You'll likely want to change the ID and, obviously, the content. But the principal i the same--jQuery can

Re: [jQuery] Call from Javascript to jQuery javascript function

2009-12-15 Thread brian
You have the order of things backward. As the page loads, any bare JS function calls will be run as soon as they are reached. So, when the line with callit() is reached, the JS engine will attempt to run the function immediately. However, the function has yet to be defined. That's because you have

Re: [jQuery] Can't get a block of HTML added to the DOM

2009-12-14 Thread brian
$('#somediv').append(html); You're appending to the div with ID 'someDiv'. But you say that this is the content: div class=somediv form id=someform p class=someclassName:/p input style=display: none; type=textbox name=somefield value=test /

Re: [jQuery] delete / remove $.ajax() object ???

2009-12-14 Thread brian
Put your $.ajax() call inside a function and call that on load and whatever other event. On Mon, Dec 14, 2009 at 8:18 PM, Wendi Turner wenditur...@gmail.com wrote: Thank you Mike ! Repost Question: How can you remove/delete the active $(document).ready() script, re-write and re-register then

Re: [jQuery] FadeOut Ajax Post FadeIn problem

2009-12-12 Thread brian
I believe the sudden appearance is due to the fact that the new div was not hidden. But, a better approach would be to not replace the #pageArticle div. Instead, replace its contents, then fade it in. On Fri, Dec 11, 2009 at 5:02 PM, S9DD david.c@virgin.net wrote: Hi Folks This script

Re: [jQuery] Help... anyone!

2009-12-08 Thread brian
I'm not sure I understand in what sense the page is freezing sometimes. I've had a look in FF (Linux) and haven't seen anything untoward. It could be that you've specified that the page never be cached. Try removing that, clear your cache, and click around some. You do have a fair number of JS

Re: [jQuery] Selector fails and works

2009-12-08 Thread brian
I believe this is the problem: input[type=radio][checked=true] The correct value for the checked attribute is checked, not true (don't ask me why; I think it's a stinker), so jQuery comes up empty-handed. Whereas the other way you're approaching this: if (this.checked) ... works because

Re: [jQuery] : FileUpload Problem

2009-12-08 Thread brian
See here: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F And you're loading the MultiFile plugin twice. You need either MultFile.js or MultiFile.pack.js, but not both. Also, keep in mind that you're cloning an element with an ID, which

Re: [jQuery] Problem with images loaded dynamically

2009-12-08 Thread brian
Can you see the images ok if you type in the direct URL for each one? On Mon, Dec 7, 2009 at 2:35 PM, jlee patrykk...@gmail.com wrote: 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

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

2009-12-08 Thread brian
How about this? $('.secondlevelcontainer', $(this)).fadeIn(500); On Mon, Dec 7, 2009 at 3:34 PM, Leonard Teo teo.leon...@gmail.com wrote: Hi guys, I'm looking for a workaround... I'm having some issues with the following code:        //Navbar hover        $('.toplevel').hover(            

Re: [jQuery] Re: Help... anyone!

2009-12-08 Thread brian
On Tue, Dec 8, 2009 at 1:48 PM, Mike mike.croteau1...@gmail.com wrote: Thanks for the response.  I was unable to find where to set firefox to clear cache automatically.   I went to about:config ... found some cache settings, but not clear settings. Edit Preferences Advanced Network Clear

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 jmsbelt...@gmail.com wrote: Hi, My JQuery scripts and CSS files are placed in different folders. Is it possible to specify the

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,

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 firstfacto...@googlemail.com wrote: Hi, The below script collects a links ID when clicked and then posts via ajax. Works fine on plan

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] jquery [multi] overlay plugin and identifiers

2009-12-03 Thread Brian Yanosik
the attribute cta of the current overlay? I know how to do this if it was just using the onclick even in jquey (it would be as simple as $(this) but that doesnt seem to be the case with the overlay script. Returns an object as the value of $(this). Thanks Brian

[jQuery] IE javascript error Expected identifier, string or number but works as intended in FireFox

2009-12-03 Thread Brian Yanosik
I have the following code that works fine in FireFox but throws an error that prevents it from working in IE. The area that is throwing the error is bolded below. I am assuming is something small I am missing. Thanks for your help in advance. $(document).ready(function () {

Re: [jQuery] IF and NULL. Please, could someone help me out?

2009-12-03 Thread brian
Does this work? $(#JPlayer).jPlayer({ ready: function() { var cookie = $.cookies.get(AlliedSkills.Player); $(this).setFile($('#MusicPath').attr(value)) if (cookie == Play) {

Re: [jQuery] contact form not sending mail

2009-12-02 Thread brian
Javascript doesn't send email. You'll have to investigate this server-side. On Wed, Dec 2, 2009 at 1:52 PM, wig1176 wig1...@verizon.net wrote: hi folks. I have a site using jquery utilizing a slider ( scroll.to) and form validater (validate) the form on my page isn't sending the emails to me

Re: [jQuery] get random record?

2009-12-01 Thread brian
On Tue, Dec 1, 2009 at 4:33 AM, Michel Belleville michel.bellevi...@gmail.com wrote: If I were you I wouldn't let JavaScript do the randomizing, I would do it server-side instead, providing a request that returns a random record and pinging it with a simple AJAX query ; this way, JavaScript

Re: [jQuery] Ajax response back question

2009-12-01 Thread brian
I'm not sure if you're trying to send back the image or just the src but, either way: $(function() { $('li').each(function() { var self = this; $.post('getImg.php', {id: $(self).attr('id')}, function($data) { // ${self} refers to the li

Re: Re[jQuery] move appended element

2009-11-28 Thread brian
to make the removeClass function restore the attribute to it's original state? Thanks, Colin. brian ally-3 wrote: Perhaps it's a problem with your CSS rules. Is the style not removed? On Fri, Nov 27, 2009 at 4:39 AM, coldwired co...@coolwired.net wrote: Hi, Sorry, that was a slight

Re: [jQuery] jquery-1.3.2.min.js causing 400 bad request

2009-11-28 Thread brian
On Thu, Nov 26, 2009 at 2:16 PM, rbishop robfromplymo...@gmail.com wrote: Hi there, hoping someone can help a strange intermittent problem. Occasionally, I am experiencing 400 bad request errors when trying to load jquery-1.3.2.min.js. I have taken the request and response headers from firebug

Re: Re[jQuery] move appended element

2009-11-28 Thread brian
On Sat, Nov 28, 2009 at 2:11 PM, coldwired co...@coolwired.net wrote: The reason is because I need the exact clone of the highlighted tags before the selected class is supplied to it. Sorry, that doesn't answer my question. In what way is having an element with an attribute class= causing you

Re: Re[jQuery] move appended element

2009-11-27 Thread brian
Perhaps it's a problem with your CSS rules. Is the style not removed? On Fri, Nov 27, 2009 at 4:39 AM, coldwired co...@coolwired.net wrote: Hi, Sorry, that was a slight typo on my part, it should be class selected. The problem I have with just appending using addClass is that when the class

Re: [jQuery] Get value from hidden input and use it in string

2009-11-27 Thread brian
Give the input element an ID and use that in the selector: input type=hidden value=2 name=Music id=music_id / $(this).setFile('http://domain.com/asset/get/' + $('#music_id').attr('id')).play(); On Fri, Nov 27, 2009 at 11:48 AM, shapper mdmo...@gmail.com wrote: Hello, I am using JPlayer to

Re: [jQuery] jquery uploadify question

2009-11-26 Thread brian
See: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F In a nutshell, you're declaring a click handler for all elements with class 'img_del' *when the page loads*. But your element is being added during the onComplete callback of uploadify()

Re: Re[jQuery] move appended element

2009-11-26 Thread brian
You have 2 separate classnames there--'selected' and 'insense-selected'. Anyway, why don't you just add the class to the hovered element and save yourself some trouble? Because wrapping a strong or dd element with a div is certainly asking for a lot of trouble. On Thu, Nov 26, 2009 at 3:50 PM,

Re: [jQuery] disable links in a class set dynamically

2009-11-26 Thread brian
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F http://docs.jquery.com/Events/live Please see my response to the recent jquery uploadify question msg. On Thu, Nov 26, 2009 at 12:09 PM, Keysher keys...@gmail.com wrote: Hi! I have a

  1   2   3   4   5   6   7   8   >