Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10699 closed bug (notabug)

JQuery UI tab : form not able to POST forms inputs to server

Reported by: sanju_d Owned by:
Priority: minor Milestone: none
Component: ui.widget Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:

Description

Hi,

I am using Jquery UI tab ( version 1.10.2) and one of the tabs links to a PHP code containing HTML form. When I hit "submit" button on the form, it calls required PHP script but somehow not able to POST input fields to server side.

However, when I use the very same PHP code directly through browser, things are fine. Hence I feel there is some issue with JQuery UI tabs.

Please help !

*sample code *

<script>

$(function() {

$( "#tabs" ).tabs();

});

</script>

<font size=2em >

<div id="tabs">

<ul>

<li><a href="#tabs-1">Details</a></li> <li><a href="#tabs-2">Photo Gallery</a></li> <li><a href="/php/pages/make_booking.php?id=<?php echo $prop->prop_id;?>">Book Now</a></li>

</ul>

Change History (2)

comment:1 Changed 5 years ago by Scott González

Resolution: notabug
Status: newclosed

Anchors are not forms. Please ask for help on Stack Overflow or the forums.

comment:2 Changed 5 years ago by sanju_d

Hi,

Anchors are not forms. But an HTML form works fine when directly viewed in a browser but the same form does not work only when added as a tab in JQuery UI Tab. My concern is StackOverflow or other forums will not be able to help as this is specific problem related to JQuery UI.

(already tried searching StackOverflow and other forums)

Note: See TracTickets for help on using tickets.