Kapalı

Problem loading pages with ajax

I'm using XMLHttpRequest() to load pages into a div from a menu.

Using innerHTML (which I think is part of the problem) the HTML loads fine, but I have no javascript.

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.

PB

Beceriler: JavaScript, jQuery / Prototype, PHP, AJAX, HTML

Daha fazlasını gör: php loading pages target location, ajax searchsuggestphp couldnt load, php scraping pages ajax, ajax java code load list box, problem loading 20000 markers googlemap, problem redirect pages php oscommerce, open wordpress pages ajax, loading pages error fixc, problem categories pages oscommerce, product order problem virtuemart pages, smoothgallery problem loading images, php display mysql result pages ajax, loading indicator ajax jquery, loading files ajax scrolling, dynamic ajax database content load, fix problem loading page, jquery ajax loading pages javascript, load pages ajax php

İşveren Hakkında:
( 0 değerlendirme ) United States

Proje NO: #31873598

Bu iş için 47 freelancer ortalamada $20/saat teklif veriyor

(127 Değerlendirme)
9.2
(736 Değerlendirme)
9.3
(567 Değerlendirme)
8.5
sergioes

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]

$25 USD / saat tutarından itibaren
(294 Değerlendirme)
7.9
(38 Değerlendirme)
8.1
(73 Değerlendirme)
8.0
shailendra041090

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

$16 USD / saat tutarından itibaren
(218 Değerlendirme)
7.2
devstart1234

Hi, We are a team and have checked your requirement "Problem loading pages with ajax". We are ready to sign NDA, If required. Websites: [login to view URL] [login to view URL] [login to view URL] htt Daha Fazla

$15 USD / saat tutarından itibaren
(326 Değerlendirme)
7.6
(14 Değerlendirme)
6.9
(35 Değerlendirme)
6.8
(99 Değerlendirme)
6.6
florinbacu

Hello, I am willing to help you with this project and that is why I am here. Contact me if you are interested.

$20 USD / saat tutarından itibaren
(47 Değerlendirme)
6.3
(28 Değerlendirme)
5.4
hladunkonstantyn

Hi. How are you? I have read your job description and I have understood your requirements I am a senior developer and I have rich experience in web developments using PHP5, PHP7, HTML, HTML5, CSS, CSS3, Javascript, jQu Daha Fazla

$20 USD / saat tutarından itibaren
(19 Değerlendirme)
5.4
alexvinnik

Hello. I will look into you code later ( its to late here for now). I believe there is some small mistake. Hope it can wait until tomorrow for you. We can discuss all things in chat before start the project. Thank you Daha Fazla

$15 USD / saat tutarından itibaren
(84 Değerlendirme)
5.6
EkaterinaVl4

Hi, there. I have read your job post carefully. I have 7+ years experience in javascript and javascript framework. I saw your code. Can you share me full code? this code that you shared is part. if you offer me th Daha Fazla

$20 USD / saat tutarından itibaren
(5 Değerlendirme)
5.3
(36 Değerlendirme)
5.4
designoxyll22

Greetings! I just read your posting (Problem loading pages with ajax) it sounds like you need a professional developer. I have experience with html, css, php and javascript for 5 years. This is PIECE OF CAKE. Here a Daha Fazla

$20 USD / saat tutarından itibaren
(19 Değerlendirme)
5.4
rexwaan

*HAVE A LOOK AT REVIEWS* Hey there. I hope you are having a good day. I have seen your requirement and I can work with you for a long time on a Jx in a given deadline. if you have any other requirements can you message Daha Fazla

$15 USD / saat tutarından itibaren
(16 Değerlendirme)
4.9
Syedhammadhafeez

Hey, It can be done just according to your requirements. kindly have a chat session for better understanding. Regards, Syed hammad hafeez I

$20 USD / saat tutarından itibaren
(19 Değerlendirme)
5.2