Javascript Dir Reorganizasyon sonra tetikleme değil

2 Cevap php

Ok, so here's the situation. I'm working on a site that allows people to upload things to a database that are then pulled to the frontpage so people can see them. It is a pretty straightforward site and I had it working real well but i was developing everything at ../html/backend for the sake of simplicity and to make sure nothing was spidered before it was ready to go live.

Yani bir kez i insanlar i / backend tutulur bilgi, girmek için izin formu hariç, / html kök her şey var dir yapısı değişti tamamladı.

this is where i hit the problem, the form is obviously in html and it collects the info, then i have a jquery java script fire on button press that does an ajax PUT to a php file that does the actual INSERT. (don't worry i also do validation in the php file) but ever since the move the script does not fire.

yes i komut ve jquery dosyasına yolları değişti ve ben komut dosyaları doğru yüklenirken teyit edebilirsiniz.

i have been struggling with this for days and im sure its something stupid that im overlooking...any ideas? thanks a lot

2 Cevap

Sorunu bulmak için kundakçı veya diğer hata ayıklayıcı kullanabilirsiniz.

So I'm a complete and utter idiot. I changed the header file that was loading my jquery root and moved it underneath the other scripts that rely on jquery. moved my jquery rel to the top and hey presto we're back in business.

FML