<a href="#" onclick="OpenPopup(this)" id='<%# Eval("YolcuId") %>'>Sil</a>
javascript code
function OpenPopup(control) {
debugger;
var id = $(control).attr('id');
$('#hfsilId').val(id);
$('#sill').modal();
More Related Contents:
- How to do the same in JavaScript? [closed]
- Ajax request returns 200 OK, but an error event is fired instead of success
- ASP.NET postback with JavaScript
- how to use Protractor on non angularjs website?
- ScriptManager.RegisterStartupScript code not working – why?
- What is the best way to download file from server
- How to call a C# function from JavaScript?
- jQuery returning “parsererror” for ajax request
- TypeError: $(…).DataTable is not a function
- How to create a session using JavaScript?
- IE9 JavaScript error: SCRIPT5007: Unable to get value of the property ‘ui’: object is null or undefined
- Displaying a byte array as an image using JavaScript
- force browsers to get latest js and css files in asp.net application
- How to fire a button click event from JavaScript in ASP.NET
- Uploading File using Ajax in Asp.Net Core
- Iframe.readyState does not work in chrome
- How to get asp.net client id at external javascript file
- What algorithm does Readability use for extracting text from URLs?
- Check if a popup window is closed
- Confirm postback OnClientClick button ASP.NET
- Hook a javascript event to page load
- How to detect IE 11 with javascript in Asp.net
- Getting Textbox value in Javascript
- how to convert xml to json using jquery
- How to access a JavaScript variable from code behind in asp.net
- Reconciling ASP.NET script bundles and source maps
- how to call javascript function in html.actionlink in asp.net mvc?
- focus on next tabindex of HTML element onEnter keypress by JQuery
- Force server TextChanged event from javascript
- How can I force input to uppercase in an ASP.NET textbox?