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 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",
> data: "compid=" + compid
> };
> $.ajax(ajaxOptions);
> }
>
> I have this called from an onclick in a <tr> tag. I want it to go to
> a new page (compdetail.php), not just return the information. Guess
> I'm forgetting the meaning of a/synchronous.
> One idea is to just wrap the <tr></tr> in <a href></a>, but I don't
> think that would work the way I want it to. Anyone know if this is
> possible?
>
> --
> Brian Ronk
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/