Click here to Skip to main content
15,885,768 members
Home / Discussions / JavaScript
   

JavaScript

 
Questionjquery and html encoding Pin
fififlowertot10-Jun-11 0:26
fififlowertot10-Jun-11 0:26 
AnswerRe: jquery and html encoding Pin
Gerben Jongerius10-Jun-11 1:46
Gerben Jongerius10-Jun-11 1:46 
Questiononclick event isn't fired Pin
Ali Al Omairi(Abu AlHassan)3-Jun-11 9:59
professionalAli Al Omairi(Abu AlHassan)3-Jun-11 9:59 
AnswerRe: onclick event isn't fired Pin
AspDotNetDev3-Jun-11 18:41
protectorAspDotNetDev3-Jun-11 18:41 
GeneralRe: onclick event isn't fired Pin
Ali Al Omairi(Abu AlHassan)4-Jun-11 2:38
professionalAli Al Omairi(Abu AlHassan)4-Jun-11 2:38 
AnswerRe: onclick event isn't fired Pin
AspDotNetDev4-Jun-11 9:20
protectorAspDotNetDev4-Jun-11 9:20 
GeneralRe: onclick event isn't fired Pin
Ali Al Omairi(Abu AlHassan)4-Jun-11 20:23
professionalAli Al Omairi(Abu AlHassan)4-Jun-11 20:23 
GeneralRe: onclick event isn't fired Pin
Ali Al Omairi(Abu AlHassan)5-Jun-11 4:58
professionalAli Al Omairi(Abu AlHassan)5-Jun-11 4:58 
Sir;
I worked on this:

JavaScript
var create_handler = function(context, method, prameter) {
     var methodname = 'AcceptDialog'; // method.getName();
     return function() { context[methodname](prameter); };
}
button1.onclick = create_handler(this, this.AcceptDialog, button1.dialogResult);


I added the parameter 'method' as i may need to invoke one of the three methods; this.AcceptDialog(), this.Close(), this.DoPostBack(). The 'context' parameter i used it instead of function $find().

what happend whit me is that I couldn't extract the method name
so I am wondering if you could help me with this;
Help people,so poeple can help you.

GeneralRe: onclick event isn't fired Pin
AspDotNetDev6-Jun-11 8:35
protectorAspDotNetDev6-Jun-11 8:35 
GeneralRe: onclick event isn't fired Pin
Ali Al Omairi(Abu AlHassan)7-Jun-11 0:36
professionalAli Al Omairi(Abu AlHassan)7-Jun-11 0:36 
QuestionRegarding JQueryCurrency Pin
dayakar_dn31-May-11 0:33
dayakar_dn31-May-11 0:33 
AnswerRe: Regarding JQueryCurrency Pin
thatraja3-Jun-11 18:19
professionalthatraja3-Jun-11 18:19 
QuestionPopulating a textbox inside usercontrol thru jquery. Pin
fififlowertot30-May-11 1:09
fififlowertot30-May-11 1:09 
AnswerRe: Populating a textbox inside usercontrol thru jquery. Pin
AspDotNetDev30-May-11 1:52
protectorAspDotNetDev30-May-11 1:52 
GeneralRe: Populating a textbox inside usercontrol thru jquery. Pin
fififlowertot30-May-11 3:49
fififlowertot30-May-11 3:49 
QuestionTooltip(true,escape('Benito's Taco Shop'),event) Pin
smraj150325-May-11 19:03
smraj150325-May-11 19:03 
AnswerRe: Tooltip(true,escape('Benito's Taco Shop'),event) Pin
Graham Breach25-May-11 20:39
Graham Breach25-May-11 20:39 
QuestionIcon on the left of the fieldLable of a textField Pin
Pierre besquent25-May-11 0:13
Pierre besquent25-May-11 0:13 
QuestionURL Decodind in javascript Pin
Ali Al Omairi(Abu AlHassan)24-May-11 2:09
professionalAli Al Omairi(Abu AlHassan)24-May-11 2:09 
AnswerRe: URL Decodind in javascript Pin
Not Active24-May-11 2:36
mentorNot Active24-May-11 2:36 
GeneralRe: URL Decodind in javascript Pin
Ali Al Omairi(Abu AlHassan)25-May-11 0:21
professionalAli Al Omairi(Abu AlHassan)25-May-11 0:21 
AnswerRe: URL Decodind in javascript Pin
Pete O'Hanlon24-May-11 3:01
mvePete O'Hanlon24-May-11 3:01 
GeneralRe: URL Decodind in javascript Pin
Ali Al Omairi(Abu AlHassan)25-May-11 0:17
professionalAli Al Omairi(Abu AlHassan)25-May-11 0:17 
GeneralRe: URL Decodind in javascript Pin
sivaguru theerthamalai25-May-11 20:45
sivaguru theerthamalai25-May-11 20:45 
GeneralRe: URL Decodind in javascript [modified] Pin
Ali Al Omairi(Abu AlHassan)25-May-11 21:24
professionalAli Al Omairi(Abu AlHassan)25-May-11 21:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.