Click here to Skip to main content
15,909,498 members

Comments by Slaf.Sohail (Top 5 by date)

Slaf.Sohail 12-Jan-17 2:33am View    
Thanks peter its working for me...
Slaf.Sohail 11-Jan-17 3:49am View    
I have assign the OK button as above...
Slaf.Sohail 11-Jan-17 3:48am View    
jQuery.msgBox = msg;
function msg(options) {
var isShown = false;
var typeOfValue = typeof options;
var defaults = {
content: (typeOfValue == "string" ? options : "Message"),
title: "Warning",
type: "alert",
autoClose: false,
timeOut: 0,
showButtons: true,
buttons: [{ value: "Ok"}],
inputs: [{ type: "password", name: "password", header: "Password", id: "txtPassword"}],
success: function (result) { },
beforeShow: function () { },
afterShow: function () { },
beforeClose: function () { },
afterClose: function () { },
opacity: 0.1,
focuselem: ''
};


case "prompt":
options.title = options.title == null ? "OK" : options.title;
options.buttons = options.buttons == null ? [{ type: "submit", value: "OK" }, { type: "cancel", value: "Cancel"}] : options.buttons;

break;
Slaf.Sohail 10-Jan-17 5:42am View    
Do you have any idea or online tool to convert vb6 code to jquery..
Slaf.Sohail 10-Jan-17 3:56am View    
yes, actually we have a project in VB6 which is every old one, now we are trying to build in MVC. I was trying to convert codes in mvc, jquery.
ya i knew it. can any one let me know any converter for vb6 code to jquery files..