Flask-Web-App-Tutorial icon indicating copy to clipboard operation
Flask-Web-App-Tutorial copied to clipboard

updated onclick() parameter passing in javascript

Open AusafMo opened this issue 1 year ago • 1 comments

on click event parameter passing formatted from onClick ="deleteNote({{note.id}})" to onClick ="deleteNote('{{note.id}}')" In Inline-Javascript, eventhandling is onclickevent = "func('parameter')" .Where parameter in this case should be inline variable block {{ parametervalue }} now there's no "property assignment error" or expected ',' error

AusafMo avatar Mar 07 '23 21:03 AusafMo

man I was struggling with this one for quite a while... I was like why is this not working when its exactly as in the video

santeriq avatar May 06 '23 13:05 santeriq