How to display a common html\javascript suffix with tabs -


please excuse not great title. don't html dev , i'm hacking , learning bits go. i'm trying create form multiple views using javascript , html.

my goal allow data entered in multiple modes. example, suppose they're entering data products in warehouse page 1 deals warehouse info , page 2 deals product info. i'm doing jquery tabs.

i use jquery tabs http://jqueryui.com/tabs/ each tab

    <div id="tabs-1">     <iframe src="enterdbinfo.shtml" width=100% height=1610>             </iframe></div>     <div id="tabs-2">     <iframe src="enterproducts.shtml" width=100% height=1610>             </iframe></div> 

when user clicks on specific product on enterdbinfo.shtml, show product details view. problem show same product details view in enterproducts.shtml. done shared html document included using ssi in both docs.

when enterdbinfo.shtml , enterproducts.shtml viewed separately, fine. when loaded in same parent document tabs, javascript acts on product details field in acts on elements in enterdbinfo.shtml , not on enterproducs.shtml fields of same name. know why happens, don't know of nice way around it.

is there nice way around this?


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -