jaxon-php / jaxon-examples

Examples demonstrating the Jaxon library usage https://www.jaxon-php.org.
5 stars 8 forks source link

Problems running most jaxon examples #7

Open MiguelAlfonzo87 opened 1 year ago

MiguelAlfonzo87 commented 1 year ago

Good afternoon everyone. Let me tell you, I have always used xajax, but since it is almost impossible to make it run in PHP 8, I am beginning to see Jaxon. The only examples that worked are hello, aliases and classes. However. In XAJAX I use addScritp() to execute functions in XAJAX from JS, or from JS execute xajax_Nombre_Funcion(); and I don't see that anywhere in JAXON. I also use xajax.getFormValues('FormName') and I can't find it in JAXON either. I have followed examples to call a function from the html with <?php echo rq()->call('Form', rq()->form('#DemoForm')) ?> and seeing the response in the inspect element , I get NULL. I don't understand what is happening. Does anyone know a link where these and many more examples work?