How to specify the url path in ajax request from custom JS file?

Hi,

How should I be specifying the url path in ajax request from a custom JS file?

Thanks,
Sai

Hello Sai,

Please check these links:


Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

Hi,

Thanks for that but I am not looking for the basics but I am asking how to get the URL for the php resource in the themes folder?

My goal is not send mail on a form submit. Is there any other way I could solve it? Or if I have to pass the request onto my resource file, should I give the path upto to the sydney theme folder?

Thanks,
Sai

Hi,

It’s not really clear what you’re asking but we’re only handling theme support here and don’t have the resources to help with custom coding. Thank you for understanding.