Re: [jQuery] non AJAX request

2007-02-23 Thread Brian Ronk
Guess there are a few options. Well, that and I'm making it harder than it should :) Thanks for the input. It's all php generated, so, like I said, I think I'm making the solution harder than it is. On 2/23/07, Edwin Martin <[EMAIL PROTECTED]> wrote: > Brian Ronk wrote: > > Guess > > I'm forget

Re: [jQuery] non AJAX request

2007-02-23 Thread Edwin Martin
Brian Ronk wrote: > Guess > I'm forgetting the meaning of a/synchronous. > Synchronous means the function returns when all data is received. Meanwhile, the page is not interactive. The beauty of asynchronous (the first A of AJAX) is that the function returns right after the request and all i

Re: [jQuery] non AJAX request

2007-02-22 Thread Alex Ezell
Got ya. I didn't think that the compID might be generated by some previous AJAX interaction. Good catch. /alex On 2/22/07, Erik Beeson <[EMAIL PROTECTED]> wrote: > Why to not use a link might be because the URL is generated by some > javascript code. If the compid part is know at the time the pa

Re: [jQuery] non AJAX request

2007-02-22 Thread Erik Beeson
Why to not use a link might be because the URL is generated by some javascript code. If the compid part is know at the time the page is rendered, then certainly a link made in PHP would be best: ... --Erik On 2/22/07, Alex Ezell <[EMAIL PROTECTED]> wrote: > I might not have read this right, so p

Re: [jQuery] non AJAX request

2007-02-22 Thread Erik Beeson
Umm, non-ajax request? function compDetail(compid) { window.location = "compdetail.php?compid=" + compid; } Or maybe I'm not understanding the question... --Erik On 2/22/07, Brian Ronk <[EMAIL PROTECTED]> wrote: > This is a little strange, but I want to do a non AJAX request. I > thought it

Re: [jQuery] non AJAX request

2007-02-22 Thread Alex Ezell
I might not have read this right, so please explain more if I missed something. If it goes to a new page, why not just use a link? Why any javascript? If the idea is to use the whole area of the as the link, then just use CSS on the "a" selector to style the box model for the appropriate "a" tag

Re: [jQuery] non AJAX request

2007-02-22 Thread Alex Ezell
I see you said but surely you could include the inside each for that and achieve the same result. /alex On 2/22/07, Alex Ezell <[EMAIL PROTECTED]> wrote: > I might not have read this right, so please explain more if I missed > something. > > If it goes to a new page, why not just use a link?

[jQuery] non AJAX request

2007-02-22 Thread Brian Ronk
This is a little strange, but I want to do a non AJAX request. I thought it might be a synchronous request, instead of asynchronous, but that didn't work. This is what I tried: function compDetail(compid) { ajaxOptions = { async: false, type: "get", url: "compdetail.php",