How can I use Javascript Function in Bootstrap Modal -


this tried. show dialog, want show resullt of javascript function in pop window, local graph.

<%@ page language="c#" autoeventwireup="true" codefile="default.aspx.cs" inherits="_default" %>      <!doctype html>  <html lang="en">  <head>    <title>model</title>    <meta charset="utf-8">    <meta name="viewport" content="width=device-width, initial-scale=1">    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>    <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>  </head>  <body>    <form id="form1" runat="server">    <div>                 <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#mymodal">open</button>  </div>                           <!-- modal -->  <div class="modal fade" id="mymodal" role="form">    <div class="modal-dialog">              <!-- modal content-->      <div class="modal-content">        <div class="modal-header">          <button type="button" class="close" data-dismiss="modal">&times;</button>          <h4 class="modal-title">modal header</h4>          </div>          <div class="modal-body">            <p>some text in modal.</p>          </div>          <div class="modal-footer">            <button type="button" class="btn btn-default" data-dismiss="modal">close</button>          </div>        </div>              </div>    </div>      </div>  <script>  $('#mymodal').on('shown.bs.modal', function show_click()   {  image.imageurl = "~/tmp/linka.png?";  image.visible = true;  corr.visible = false;  hide.visible = true;  })  </script>

can me it? much.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -