Is there any problem of writing javascript and ajax together because both are written inside the <script></script>
? tags
You're connected to this issue
Can I for example inside the tags write a function in javascript and then a function in ajax?
comes in the continuity of this question Can I write in JavaScript within PHP?
By the way I find it useful to list my similar questions