Re: [PHP] php and Ajax problem
Richard Kurth wrote: if(response.indexOf('|' != -1)) { Spot the misplaced bracket. if($_GET['takeaction']=="delete"){ $uid=$_GET['uid']; echo $uid; This is wide open to XSS attacks, you need to be just as careful with scripts intended to be accessed via javascript as you do with us
Re: [PHP] php and Ajax problem
Richard Kurth wrote: I can not figure out way this is not working can somebody help? Untitled function createRequestObject() { var req; if(window.XMLHttpRequest){// Firefox, Safari, Opera... req = n
Re: [PHP] php and Ajax problem
On 5/28/07, Richard Kurth <[EMAIL PROTECTED]> wrote: I can not figure out way this is not working can somebody help? Untitled function createRequestObject() { var req; if(window.XMLHttpRequest){ // Firefox, Safari, Opera... req = new XMLHttpRequest(); } else if(window.Activ
Re: [PHP] php and Ajax problem
Not even slightly a PHP question, but since it's a bank holiday I seem to temporarily be in a more helpful mood. Richard Kurth wrote: $event['deleteevent']=' href="javascript:sendRequest(delete,32423434234234234324)">Delete this event'; echo $event['deleteevent']; ?> I'm thinking you need