[jQuery] Re: Adding a table row and a form with jquery?

2008-01-18 Thread dougXN
Okay, I will take a look, but I am some what determined. So I can do this to replace my first thing: $('#groups').append( 'Loading...' + 'Loading...' + '' + '' + ' ', ); That

[jQuery] Adding a table row and a form with jquery?

2008-01-17 Thread dougXN
Anyone have an idea how one might add a row to a table and have the form elements in each column? Something like this: var newRow = document.createElement( 'tr' ); var groupCell = document.createElement( 'td' ); var roleCell= document.createElement(

[jQuery] How to control order of events or wait until something is loaded?

2007-11-16 Thread dougXN
So this isn't specific to validate, but it seems to be the one that for what ever reason causes me pain. I usually try not to load the same javascript over and over so I do something like this: if (typeof(writeLog) == 'undefined') { $.getScript("/javascript/mystuff/logger.js"

[jQuery] Getting jquery/impromptu to wait for a response?

2007-09-21 Thread dougXN
So am attempting to do a: $(window).bind( 'beforeunload', function () { $.prompt( 'You have unsaved data', { buttons: { Cancel: 'cancel', Save: 'save', Ok: 'ok' }, function (response, object) { . } } ); The funny thing is when you do the prompt it doesn't wait for the response it just keeps

[jQuery] Re: Determining the source of a load

2007-09-19 Thread dougXN
codes. > > I'll provide an example in a new thread. > > --Erik > > On 9/18/07, dougXN <[EMAIL PROTECTED]> wrote: > > > > > We have a website that requires login. When we go to the site, if the > > login has expired we get a screen that logs us in, t

[jQuery] Determining the source of a load

2007-09-18 Thread dougXN
We have a website that requires login. When we go to the site, if the login has expired we get a screen that logs us in, then redirects us to our initial request. The problem is that if the request is a jquery/ajax .load(, 'mydiv'), it does not go into the div it justs loaded the whole bloody