Twitter bootstrap ajax加载中的引导电话表单帮助器?

Twitter bootstrap ajax加载中的引导电话表单帮助器?,twitter-bootstrap,form-helpers,Twitter Bootstrap,Form Helpers,ajax加载中的引导电话表单帮助程序??不工作。。 但它不适用于ajax调用,而是尝试索引.php index.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>

ajax加载中的引导电话表单帮助程序??不工作。。 但它不适用于ajax调用,而是尝试索引.php

index.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Deneme</title>
<link href="inc/bootstrap/css/bootstrap.min.css" media="screen" rel="stylesheet" type="text/css" />
<script src="inc/jquery/jquery-1.10.1.min.js"></script>
<script src="inc/bootstrap/js/bootstrap.js"></script>
<script type="text/javascript" src="inc/bootstrap/js/bootstrap-formhelpers-phone.format.js"></script>
<script type="text/javascript" src="inc/bootstrap/js/bootstrap-formhelpers-phone.js"></script>

</head>

<body>
    <script type="text/javascript"> 
        $(document).ready(function(){
        $('#testdiv').load('examples.php');

        });
    </script>

    <div id="testdiv"></div>
</html>

德内姆
$(文档).ready(函数(){
$('#testdiv').load('examples.php');
});
examples.php

<form id="kayit" class="form-horizontal">
<div class="control-group">
            <label class="control-label">Cep Telefonu</label>
            <div class="controls">
                <div class="input-prepend">
                <span class="add-on"><i class="icon-th-list"></i></span>
                    <input type="text" class="input-xlarge bfh-phone" name="CepTelefonu" data-format="+dd (ddd) ddd-dddd-dd">
                </div>
            </div>
        </div>
      </form>

电话会议
不工作

$('#testdiv').load('examples.php',function(){
$('form input[type="text"].bfh-phone, form input[type="tel"].bfh-phone, span.bfh-phone').each(function () {
var $phone = $(this);
$phone.bfhphone($phone.data());
});
});