Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  22 Jun 2018, Frederik Wauters, Forum, custom script on custom page 
    Reply  22 Jun 2018, Stefan Ritt, Forum, custom script on custom page 
       Reply  25 Jun 2018, Frederik Wauters, Forum, custom script on custom page 
Message ID: 1374     Entry time: 25 Jun 2018     In reply to: 1373
Author: Frederik Wauters 
Topic: Forum 
Subject: custom script on custom page 
> > Uncaught ReferenceError: XMLHttpRequestGeneric is not defined
> >     at cs_button (Trend:165)
> >     at HTMLInputElement.onclick (Trend:90)  
> 
> That code was not written by me, so I'm must guessing here.
> 
> Probably the XMLHttpRequestGeneric() is some function hiding browser specialities to create 
> AJAX requests. These days most browser understand the standard request
> 
> XMLHttpRequest()
> 
> so why don't you try to just remove the "Generic"
> 
> Stefan

That removes the error, but script doesnt get called. It goes to the javascript function and 
callback, but nothing happens. 

When I change type=button to type=submit , the script gets called again, but with page refresh. 
ELOG V3.1.4-2e1708b5