Click here to Skip to main content
15,887,027 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Popup page not loading Pin
Paddy Boyd18-Apr-07 23:50
Paddy Boyd18-Apr-07 23:50 
GeneralRe: Popup page not loading Pin
cmbsurfer19-Apr-07 1:50
cmbsurfer19-Apr-07 1:50 
GeneralRe: Popup page not loading Pin
Bradml19-Apr-07 2:03
Bradml19-Apr-07 2:03 
AnswerRe: Popup page not loading Pin
RichardGrimmer23-Apr-07 5:52
RichardGrimmer23-Apr-07 5:52 
QuestionAJAX Problem adding OnClick JavaScript Even To Row... Pin
michaelastewartmas18-Apr-07 11:59
michaelastewartmas18-Apr-07 11:59 
AnswerRe: AJAX Problem adding OnClick JavaScript Even To Row... Pin
Steve Echols18-Apr-07 17:53
Steve Echols18-Apr-07 17:53 
GeneralRe: AJAX Problem adding OnClick JavaScript Even To Row... Pin
michaelastewartmas19-Apr-07 10:47
michaelastewartmas19-Apr-07 10:47 
AnswerRe: AJAX Problem adding OnClick JavaScript Even To Row... Pin
RichardGrimmer20-Apr-07 5:27
RichardGrimmer20-Apr-07 5:27 
michaelastewartmas wrote:
RowAction('gv_BaseUOMLookUp', this, 'OnClick');


This is where your problem lies...

The OnClick MEMBER of the DOM tr element, is a function pointer. What you're doing with the line above, is setting the value to the RETURN of RowAction...think if instead of RowAction, you'd written AddTwoNumbers(1, 2)...you'd expect the return value to be 3, and because of the assignment operator, the onclick member's value will of course be 3 Smile | :)

To do what you want, either a)remove the parameters from the assignment - essentially then uses a memory address, or b) code something akin to the following:

<br />
row.OnClick = new function () {.........}<br />


Hope that helps...

"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox

GeneralRe: AJAX Problem adding OnClick JavaScript Even To Row... Pin
michaelastewartmas20-Apr-07 14:03
michaelastewartmas20-Apr-07 14:03 
QuestionEmbedding Binary Data Pin
Hedonism17-Apr-07 23:36
Hedonism17-Apr-07 23:36 
QuestionHow much shall I charge for this project? Pin
Spirytus17-Apr-07 22:48
Spirytus17-Apr-07 22:48 
AnswerRe: How much shall I charge for this project? Pin
Bradml17-Apr-07 23:08
Bradml17-Apr-07 23:08 
GeneralRe: How much shall I charge for this project? Pin
Spirytus17-Apr-07 23:53
Spirytus17-Apr-07 23:53 
AnswerRe: How much shall I charge for this project? Pin
Paddy Boyd18-Apr-07 0:21
Paddy Boyd18-Apr-07 0:21 
AnswerRe: How much shall I charge for this project? Pin
Pete O'Hanlon18-Apr-07 2:34
mvePete O'Hanlon18-Apr-07 2:34 
GeneralRe: How much shall I charge for this project? Pin
Bradml18-Apr-07 5:50
Bradml18-Apr-07 5:50 
GeneralRe: How much shall I charge for this project? Pin
Pete O'Hanlon18-Apr-07 22:22
mvePete O'Hanlon18-Apr-07 22:22 
Answerthx everyone! Pin
Spirytus18-Apr-07 10:20
Spirytus18-Apr-07 10:20 
GeneralRe: thx everyone! Pin
L Viljoen19-Apr-07 0:19
professionalL Viljoen19-Apr-07 0:19 
QuestionUpload Entire Folder (with Sub Folders) Pin
mavrikkk17-Apr-07 22:44
mavrikkk17-Apr-07 22:44 
AnswerRe: Upload Entire Folder (with Sub Folders) Pin
Bradml17-Apr-07 23:06
Bradml17-Apr-07 23:06 
QuestionReceive SMS from mobile to computer Pin
cb mehta17-Apr-07 22:14
cb mehta17-Apr-07 22:14 
QuestionJavascript Codebehind Pin
L Viljoen17-Apr-07 21:51
professionalL Viljoen17-Apr-07 21:51 
AnswerRe: Javascript Codebehind Pin
Bradml17-Apr-07 23:04
Bradml17-Apr-07 23:04 
AnswerRe: Javascript Codebehind Pin
Guffa18-Apr-07 8:19
Guffa18-Apr-07 8:19 

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.