1
I am trying to work thru kaotiks wonderful tutorials. I have made it all the way to this spot.
tutorial_part3_start module
Step 6- Taking xajax further.
When I add all the code it breaks the module.
The link 'formtest' is broken this is what I get when I click it.
http://www.mysite.com/modules/tutorial/#It does not display...
-----
Here is the code I think this is where the error is.
<p><{$xajaxjava}>p>
<p><a href="#" onclick="xajax_showForm();return false;">formtesta>p>
<p><div id="formDiv">div>p>
<div id="thisID">div>
This is the explanation.
formtest I've added a text with a link that, when pressed will make xajax process the function showForm. return false; is to stop it from reacting as a normal text link.
Let's try it! Click on tutorial from the main menu. You now see a text link that says formtest. Click on it. A form will appear. Now click on the button submit, a new line of text appears that says Button pressed. So we now have 2
that react to 2 user actions.
-----
Does anyone have a suggestion?
I have this setup on a 5 on 5 server.
php5 & mysql5
Thanks for your time in advance