<h3>3, false ajax</h3>
<h6> Study iframe( Nesting other people's websites )</h6>
<div>
<input id="url" placeholder=" Please enter url"><a onclick="Test1();"> see </a>
</div>
<iframe id="ifr" style="height: 800px; width: 600px" src="https://www.autohome.com.cn/tianjin/"></iframe>

false ajax In fact, that is iframe And form Forms are created in combination with

 function Test1() {
// false Ajax
console.log('1111') var url = $('#url').val()
$('#ifr').attr('src', url) }

false AJAX More articles about

  1. A fake ajax Image upload code example

    A fake ajax Image upload implementation code . Copy the code as follows : <?php  if($_FILES){  ?>  <script>  window.parent.ajaxUploadPi ...

  2. false ajax Upload files

    false ajax Upload files   I've been tossing around recently ajax Upload files asynchronously . I searched the Internet , Find most of the ways input file Controls are limited to form in , If it's in form What about the others ? You must dynamically generate a temporary form And temporary if ...

  3. tornado Several forms of file upload form, false ajax(iframe)

    1 direct form Submit to the background <!DOCTYPE html> <html lang="en"> <head> <meta charset= ...

  4. Manual ( Native ajax) And auto send ajax request false ajax(Ifrname)

    Send automatically   ---> rely on jQuery file example -->GET request : function AjaxSubmit() { $.ajax({ url:'/data', type:"GET ...

  5. 33)django- Native ajax, false ajax

    One : summary about WEB Applications : The user browser sends the request , The server receives and processes requests , And then return the result , Often the return is a string (HTML), The browser will display the string (HTML) Render and display on the browser . 1. Conventional Web application A simple operation ...

  6. iframe Realize pseudo ajax

    iframe Realize pseudo ajax Two ways to submit data : Form Ajax Ajax How to submit data : JS Realization Jquery “ false ”Ajax " false "Ajax: iframe+from Realization ...

  7. front end - js The way Ajax/ jquery The way Ajax / false ajax / false ajax Advanced way

    DJANGO Environment building : Directory file : close CSRF Add directory file path To configure url View configuration : index Configuration page : test :( success ) Get to the point : ajax adopt GET Submit data to the background : <!DOCTY ...

  8. frame ----Django And Ajax Full set of examples ( Native AJAX,jQuery Ajax,“ false ”AJAX,JSONP,CORS)

    One . Native AJAX,jQuery Ajax,“ false ”AJAX,JSONP 1. Browser access http://127.0.0.1:8000/index/ http://127.0.0.1:8000/fake_ ...

  9. false ajax operation

    What is fake Ajax operation ? To put it bluntly, it's fake ajax operation , But it's different from normal ajax The purpose of the operation is the same , Send information from the front end to the back end Take a look at the code first ! ajax.html <form action=" ...

Random recommendation

  1. js Associative arrays in

    I didn't know it was called associative array before . What is an associative array . In general, when an array is filled, it will implicitly or show the index of the specified array , but JS Arrays can be assigned values to elements in the form of names , This forms the associative array . Example var p={ name:'dai ...

  2. enum operation -- Get the maximum value in the enumeration

    An application system , If there's nothing in the program enum Use , I think its readability is questionable . Find the largest in the enumeration / Minimum enumeration value , Is to Array To operate : enum EnumTest { ddd = , eee } ...

  3. PPK To talk about JS Note number one

    Here are the reading notes , Review again JS Good book :PPK To talk about JS window.load=initializePageaddEventSimple('window','load',function(){}) lo ...

  4. Installation Directory must be on a local hard drive terms of settlement

    Today, I came to Hangzhou with my company's computer , My colleague sent me a Sliksubversion.msi To install , Because the system is win8.1 Of , You can't just click Install , I'm really drunk , So, Du Niang's power was used to find the answer , Post it here , For your reference ...

  5. [C#] Chinese and English subtitle merge small program

    Today, the class team recorded a video , I made it a timeline of subtitles . To make this video look high-end , I want to add English subtitles . The Chinese text with pure subtitles is first made into one line , Then put Google In translation , Copy English and save it in Eng.txt. ...

  6. idea stay springboot There is no 【 newly build JSP Options 】 Solutions for

    https://blog.csdn.net/qq_26525215/article/details/53726690 Reproduced in CSDN

  7. cocos2dx Take the real random number

    because c++ The random number of is actually a random table , So it's not really random ,cocos2dx You will find that every time Get the same value again , So the solution is to seed random numbers , Using the time function ( The uniqueness of time ), The operation is as follows ...

  8. Applet sitemap To configure

    These days in the official website documents found that small programs also support the index of the link , That is to create a new one in the root directory sitemap.json file . { "rules": [ { "action": " ...

  9. Applet 2- Explain the basic structure ( One )WXML Templates

    Different types of files are generated in the project : .json  Suffix  JSON  The configuration file .wxml  Suffix  WXML  Template file .wxss  Suffix  WXSS  The style file .js  Suffix  JS  Script logic file WXML model ...

  10. css Line break

    1. word-break:break-all; Only for English , Wrap by letter 2. word-wrap:break-word; Only for English , Word wrap 3. white-space: ...