Jump to content

loading content jquery tab form from external file


radio86

Recommended Posts

Hi guys,

 

I have a form that is designed in tabs using jquery each tab has its section of the form and each tab calls the function preview which is updates preview of filled form, this form is in external file form_main.php.  at this moment of time, i use it this way but now i want to add another but simple form no jquery attached to it and it is called new_form.php.

 

when i use jquery function ajax.load to get the form but it does not display in tabs therefore displays in bullet points. how do i get that form_main.php to the page so it renders it properly as it was before.

 

thanks in advance

Link to comment
Share on other sites

Hi thanks for your reply,

 

i am unable to give you the code at this is moment of time because im at my parents house for the weekend. yes i am using UI tabs.

 

i'll try my best to get the code. please not all .js files are loaded in the header of the page, using php i include main_form.php as normal if querystring matches, now i dont want to use php include function to display the form therefore i want to display using ajax

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.