I'm using XMLHttpRequest() to load pages into a div from a menu.
I've tried many of the suggestions offered on StackOverflow, but still no luck.
Presently, I can only get the js to work is through using a button to call the js function - which means it must be there somewhere. Indeed, it is 'there' as I can see it in Source. However, I cannot 'call' it - even JS embedded in the loaded page does not work - even [login to view URL]()!
I am using old style code, PHP with no classes or framework, and the same for js. I would like to keep it that way, but would settle for a jquery solution as long as it is a solution and the overhead is not too great. From what I can gather, one source of the problem is that I am not 'binding' code to elements, though I am unsure what that means.
Having spent some time on this I would say I have a couple of problems. One, of course is the right code, but the other may be one of design. It may be that I am trying to do either the wrong thing, or using the wrong way of looking at it and the relevant tools - for want of a better word.
I enclose some of the code in the attached file and a couple of screenshots.
Bu iş için 47 freelancer ortalamada $20/saat teklif veriyor
Hi, why don't you migrate to the fecth API? XHR is outdated and you should not use it. Regards, Sergio. --- * Blog/portfolio [login to view URL]
Hi there, - My name is Shail. I’ve read your brief and checked your attached document. I am 100% sure I can resolve this issue. I have integrate ajax in many project. I have deep knowledge of integrating ajax. I ca Daha Fazla
Hey, It can be done just according to your requirements. kindly have a chat session for better understanding. Regards, Syed hammad hafeez I