Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/413.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 模式窗口内的href_Javascript_Html_Modal Dialog - Fatal编程技术网

Javascript 模式窗口内的href

Javascript 模式窗口内的href,javascript,html,modal-dialog,Javascript,Html,Modal Dialog,基本上,我有一个网页,它会触发一个包含HTML表单的模式,这个表单有一些选项卡,您可以使用href值来控制,但是每当我单击锚链接时,它会影响父页面,但不会影响模式表单。 通常情况下,如果表单不在模式中,并且直接在HTML页面上实现,则href链接将用于移动表单的选项卡。然而,当我从另一个页面将表单转换为模态时,我遇到了这个问题。 有什么解决方案或javascript变通方法吗? 这是模态内部的表单 <div class="tab-content "> <div clas

基本上,我有一个网页,它会触发一个包含HTML表单的模式,这个表单有一些选项卡,您可以使用href值来控制,但是每当我单击锚链接时,它会影响父页面,但不会影响模式表单。 通常情况下,如果表单不在模式中,并且直接在HTML页面上实现,则href链接将用于移动表单的选项卡。然而,当我从另一个页面将表单转换为模态时,我遇到了这个问题。 有什么解决方案或javascript变通方法吗? 这是模态内部的表单

  <div class="tab-content ">
  <div class="tab-pane active" id="panel6-1">
  <div class="row-fluid">
  <div class="span5"> <h4><i class="icon-user"></i>&nbsp;&nbsp; Property Details</h4>       
  <label>Selected Address : </label>
  <input type="text" value="<?php $result = getAdressFromLatLng($_GET["lat"],$_GET["lng"]); echo $result->address; ?>" class="input-block-level" />
  <label>Property Type </label>
  <select>
  <option id="">Residential</option>
  </select>
  <label>Property Subtype </label>
  <select>
  <option id="">Residential</option>
  </select>
  <label>
  <button type="button" data-toggle="button" class="btn btn-mini custom-checkbox active"><i class="icon-ok"></i></button>
     </label>
     <br />

    //here is the href that when I click on I want to show the panel6-2
     <a href="#panel6-2" ">Go to next tab<i class="icon-chevron-sign-right"></i></a>
      </div>

物业详情
所选地址:

也许将模式中href的目标设置为模式窗口的名称或id?否则可以在iframe中以模态形式包装。

解决方案1)向我们显示您的代码完成,代码添加到原始线程中。