[jQuery] Re: Using jQuery with Ext

2007-04-01 Thread Brad Perkins
Rob, I believe the problem is that cross-domain requests aren't allowed. Were you able to do this prior to incorporating ext? What you probably need to do is make a request to your server, have it get http://www.myuri.com/index.htm by some means then return the content back to the browser. Bra

[jQuery] serialize problems w/ select menu on IE

2007-04-16 Thread Brad Perkins
I'm using jQuery 1.1.2. I'm using this code to serialize form data before an Ajax submit. var params = $('input,select,textarea').serialize(); The form has multiple select menus. On IE 6 and IE 7 the value from one select is always blank when serialized regardless of the selected option. This

[jQuery] Re: serialize problems w/ select menu on IE

2007-04-17 Thread Brad Perkins
nother try. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brad Perkins Sent: Monday, April 16, 2007 4:25 PM To: jquery-en@googlegroups.com Subject: [jQuery] serialize problems w/ select menu on IE I'm using jQuery 1.1.2. I'm us

[jQuery] Re: "id" is not a function?

2007-04-18 Thread Brad Perkins
Dave, I asked a similar question awhile ago and was told that id() and name() were removed in a prior version to clean up the jQuery API. I'd written some code based on examples from the mailing list archive and was getting the not a function error too. Use .attr("id") and .attr("name") instead.

[jQuery] Re: Using EXT with Jquery

2007-04-19 Thread Brad Perkins
Eli, This thread might help. http://groups.google.com/group/jquery-en/browse_thread/thread/bb64561ee9fe2e22/fdb149e62b2bd03b?lnk=gst&q=ext&rnum=2#fdb149e62b2bd03b On 4/19/07, Eli <[EMAIL PROTECTED]> wrote: Hey guys, Just noticed a couple of days ago that ext now has a new 'extjs' for jquery

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Brad Perkins
Rick, JQuery sends an "HTTP_X_REQUESTED_WITH" header with Ajax calls. Can your CF code check for that? Brad On 4/20/07, Rick Faircloth <[EMAIL PROTECTED]> wrote: True... I may have to simple do away with the "click to reveal the form part." This discussion is disappointing so far, in that t

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Brad Perkins
om: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brad Perkins Sent: Friday, April 20, 2007 11:16 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Best way to determine if a user has Javascript enabled? Rick, JQuery sends an "HTTP_X_REQUESTED_WITH" header with

[jQuery] Tab Plugin - Like Tab Panel?

2007-05-01 Thread Brad Perkins
In looking at various jQuery plugins, I seem to recall a tab implementation that was similar to the "Ext" Tab Panel. I've found the very nice jQuery Tab plugin, but recall something that either extended it, or was an alternate implemenation, that implemented a tabbed container instead of a tab ro

[jQuery] Re: jquery.com - hacked?

2007-05-06 Thread Brad Perkins
This was posted yesterday. http://groups.google.com/group/jquery-en/browse_thread/thread/a1f207a25636fb41/f9ab9f41809c65fa?lnk=gst&q=site+down&rnum=2#f9ab9f41809c65fa On 5/6/07, Matt Stith <[EMAIL PROTECTED]> wrote: o.O that doesnt look good... On 5/6/07, MrNase <[EMAIL PROTECTED]> wrote:

[jQuery] Re: New to jQuery: Problem setting current time to some element

2007-08-01 Thread Brad Perkins
Try this: function displayDate(){ var date = new Date(); $("#dateandtime").text(date.toString()); } On Aug 1, 5:56 pm, Nazgulled <[EMAIL PROTECTED]> wrote: > Hi, > This is my code: > > function displayDate(){ > var date = new Date(); > $("#dateandtime").text(date); > > } > > $(document).

[jQuery] Re: ANNOUNCE: Truncate v.2.2 plugin for jQuery released

2007-08-09 Thread Brad Perkins
Very nice. I may have a need for something like this in an upcoming project. This truncates based on character count. What I'll ultimately need to do is truncate text based on a maximum width. I would need to initially display only one line with the option to show/hide any remaining text. To do t

[jQuery] Selector help - All inputs except radio buttons?

2007-05-08 Thread Brad Perkins
I currently have this? var params = $('input,select,textarea').serialize(); Is there a simple way to serialize all inputs expect for radio buttons?

[jQuery] Re: Selector help - All inputs except radio buttons?

2007-05-08 Thread Brad Perkins
That does the trick! Thanks On May 8, 2:05 pm, "John Resig" <[EMAIL PROTECTED]> wrote: > Try this: > var params = $("input,select,textarea").not(":radio").serialize(); > > On 5/8/07, Brad Perkins <[EMAIL PROTECTED]> wrote: > > >

[jQuery] Re: Selector help - All inputs except radio buttons?

2007-05-08 Thread Brad Perkins
Thanks everyone! -- Brad On May 8, 2:54 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Ah yes! You're right (as usual). :) > > --Karl > _ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On May 8, 2007, at 4:54 PM, Jörn Zaefferer wrote: > > > > > Karl Swedberg schrie

[jQuery] Re: Selector help - All inputs except radio buttons?

2007-05-08 Thread Brad Perkins
Rafael, That is what I had in mind, but appears to filter out non-radio input fields. On May 8, 2:00 pm, "Rafael Santos" <[EMAIL PROTECTED]> wrote: > var params = > $('input,select,textarea').not("[EMAIL PROTECTED]").serialize(); > > 2007/5/8, Bra

[jQuery] Re: The problem with jquery!!!

2007-05-13 Thread Brad Perkins
If you are trying to use $(this).html( $(this).html().replace("","@") ); Could the problem be that "" isn't matching "" ? On May 12, 11:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > The actual html reads > > someonesomehwerecom

[jQuery] Determining event bindings?

2007-05-14 Thread Brad Perkins
I'm mainly interested in this as a debugging tool, but is it possible at a given time to determine which jQuery objects have events bound to them, and to get details about the bindings? Also is it possible to determine if an object has the same event bound more than once? I had a situation this m

[jQuery] Re: Determining event bindings?

2007-05-14 Thread Brad Perkins
w.learningjquery.com/2007/03/selecting-elements-by-propertie... Thanks. Excellent article! > Also recently on the list some code was posted to look at an elements > events and handlers. I'll search for that. If anyone has can reference the thread it would be great. Brad > Brandon

[jQuery] Getting column value for a selected table row?

2007-05-25 Thread Brad Perkins
Given a table where the the first column of each row contains a radio button. Is there some jQuery selector magic that would allow me to get the value of the cell in the 4th column when the radio button is selected?

[jQuery] Re: Getting column value for a selected table row?

2007-05-25 Thread Brad Perkins
On May 25, 3:02 pm, "Jake McGraw" <[EMAIL PROTECTED]> wrote: > Maybe, within click or change: > > $("[EMAIL PROTECTED]").change(function(){ > $(this).parent().siblings("td:eq(3)"). /* do something */; > > }); > > So you document should look like: > > > > > > > > ... > > > Th

[jQuery] Treeview Questions

2007-05-28 Thread Brad Perkins
I've been looking at the Treeview Plugin and have a few questions. (1) When a tree is expanded I would like to style a hovered or clicked li. The problem I'm having is that all li's in the tree get the style. I have tried to us stopPropagation and return false but neither solve the problem. (2)

[jQuery] Plugin to copy rows between tables?

2007-06-09 Thread Brad Perkins
I'm working on a web form where a user can submit queries via ajax. The results are returned in a table. What I need to do is allow the user to select a row from the result table via a double-click (or check box) and have the clicked row inserted into a second table. The second table is in a separ

[jQuery] Selector Help - hover and dblclick

2007-06-10 Thread Brad Perkins
In a table like this: Item One Two Three I want to highlight the rows when hovered. I also wan't to set a different background color on the row when double clicked. I have the following jquery code: $(document).ready( function() { $("[EMAIL PRO

[jQuery] Re: Selector Help - hover and dblclick

2007-06-10 Thread Brad Perkins
t; wrote: > On Jun 11, 12:06 am, Brad Perkins <[EMAIL PROTECTED]> wrote: > > > > Ultimately, I'd also like to prevent the double clicked row from > > running code if previously double clicked. > >I suppose, you could do something like: > >i

[jQuery] Re: Selector Help - hover and dblclick

2007-06-10 Thread Brad Perkins
n the row closest to the click. That is standard browser behavior. For purely cosmetic reasons I'd like to suppress this. Is there anyway to style an element so that its text is not selectable? Alternately, is there a way to detect and unselect selected text with Javascript? On Jun 10, 4:0

[jQuery] Re: jquery.com is down

2007-06-12 Thread Brad Perkins
If you need documenation, this might help. http://jquery.bassistance.de/api-browser/ > > FWIW, the "visual jQuery" site is down as well: >

[jQuery] Insert new div into existing div

2007-06-12 Thread Brad Perkins
want every inserted div to be the last div within "form_container". Thanks, Brad Perkins

[jQuery] Re: Insert new div into existing div

2007-06-12 Thread Brad Perkins
div. More specifically I need to > > do something like this: > > > Start with an empty div > > > > > > > Insert a div... > > > > ... <-- inserted > > > > > And another ... > > > > ... > > ... <-- inserted > > > > > etc. > > > I want every inserted div to be the last div within "form_container". > > > Thanks, > > > Brad Perkins

[jQuery] Re: Insert new div into existing div

2007-06-12 Thread Brad Perkins
AIL PROTECTED]> wrote: > Try this... > > $('').appendTo("#font-container").html("Lorem > ipsum ...") > > Isn't chaining great?! > > George > > On Jun 12, 8:21 pm, Brad Perkins <[EMAIL PROTECTED]> wrote: > > > Thanks

[jQuery] Insert table row next to last row

2007-06-16 Thread Brad Perkins
I'm hoping this is just a simple selector question. I currently have this code which inserts a row at the end of a table. $('').appendTo("#my_table").html(rowcells); I need to add a footer row to the same table. Is there a simple modification to the the above code so that it would insert a row a

[jQuery] Re: Insert table row next to last row

2007-06-16 Thread Brad Perkins
> > Cell data 7 > Cell data 8 > Cell data 9 > > > > > On 6/16/07, Brad Perkins <[EMAIL PROTECTED]> wrote: > > > > > I'm

[jQuery] AJAX get into a persistent variable?

2007-06-17 Thread Brad Perkins
I'm working on a page that has a form that is dynamically generated using jQuery. The form isn't built in one pass but progressively based on user actions. Prior to submit the form may contain dozens of select menus with varying option content. The problem is that the select menu options contain

[jQuery] getJSON w/ PHP

2007-06-18 Thread Brad Perkins
I'm trying to use getJSON to return some JSON from a PHP page. I can see that the request is returning the expected response with Firebug, but the getJSON callback isn't firing? My PHP is simply Do a need to set a special content type before returning the JSON?

[jQuery] Re: getJSON w/ PHP

2007-06-18 Thread Brad Perkins
Jake, That fixed it. Thanks! On Jun 18, 11:41 am, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote: > do you have variables named OUT and DECOMMISSIONED? > > or did you mean 'OUT-DECOMMISSIONED' > > as in > > echo "{ok:true,state:'OUT-DECOMMISSIONED&#x

[jQuery] Re: getJSON w/ PHP

2007-06-18 Thread Brad Perkins
They are still using PHP 4, but do have the PEAR JSON library installed. I plan to use it. -- Brad On Jun 18, 12:24 pm, "Aaron Heimlich" <[EMAIL PROTECTED]> wrote: > This assumes, of course, that you: > > A) Are using PHP 5.2 > B) Have the json extension installed from PECL[1] > > If neither of

[jQuery] Table cell navigation

2007-06-20 Thread Brad Perkins
Imagine a table row like this ... ... Depending on the select option I need to modify or clear values in the text inputs in the 2nd, 3rd, and 4th cells. I find that this code works, but suspect there may be a better way to achieve the sam

[jQuery] Re: Table cell navigation

2007-06-21 Thread Brad Perkins
> var index = /select_(\d+)/.exec(this.id)[1]; // Get the number from the > > ID. There is no checking if it doesn't match. > > var new_value = $(this).val(); > > $("text_"+index+"a").val(new_value); > > Incidentally, as I've used here, the .val() funct

[jQuery] Re: Table cell navigation

2007-06-21 Thread Brad Perkins
peed-wise though, it could be worth testing if important. Out of curiosity, and for future reference what is the best way to measure the selection speed? Thanks Again! > --rob > > On 6/21/07, Brad Perkins <[EMAIL PROTECTED]> wrote: > > > > > > > Rob, > &

[jQuery] Re: Navigating between multiple images on one page

2007-06-24 Thread Brad Perkins
Johan, A new plugin was announced recently that might meet your requirements. Look at this thread: http://groups.google.com/group/jquery-en/browse_thread/thread/8248fe024532cbb9 On Jun 24, 2:22 pm, johan_vm <[EMAIL PROTECTED]> wrote: > Hello, > > Can someone (an experienced jQuery user) help me

[jQuery] Re: How to show/add content under a row in a table

2007-06-26 Thread Brad Perkins
I recently did something like this. I need to be able to dynamically insert new rows into a columnar form. I've stripped out a lot of the code but hopefully this will give you some ideas var clicked_row = $(...); // jQuery object. Clicked Row. You'll need to specify the selector var new_row = $('

[jQuery] Re: Binding actions after an ajax call?

2007-07-01 Thread Brad Perkins
That's just the way Gmail threads its messages. It appears the poster replied to the original thread and changed the subject. Google Groups noted "Discussion subject changed to "Binding actions after an ajax call?" by Tobias Parent". Instead of using the actual subject Gmail uses a common index

[jQuery] Re: Hidden divs, showing based on anchor in URL

2007-07-06 Thread Brad Perkins
If I understand you correctly, if someone enters or clicks a URL from another page like: http://www.hughesnunn.com/attorneys.html#mixer you want to display that attorney when the page loads? If you can parse the anchor out of the URL on page load you could use jQuery's click method to simul

[jQuery] Re: Customize JQuery

2007-07-18 Thread Brad Perkins
This subject came up recently. Search the archive for "Using part of JQuery". The recommended solution might meet your needs? -- Brad On Jul 18, 6:46 am, "azzozhsn.net" <[EMAIL PROTECTED]> wrote: > Hi, > I really like JQuery, and I try to use it, and I think it's big script > in some kind 22KB!