<html>
<head>
<script type="text/javascript">
function display(id)
{
// open jquery modal window using jquery UI
}
</script>
</head>
<body>
</body>
</html>
I want to open jquery modal window using jquery UI whenever the function display is called using normal javascript function call .
I can use .diolog function of jquery UI , but how to call it from within javascript function ?
Thanks