Skip to Main Content
Secure Development for Mobile Apps
book

Secure Development for Mobile Apps

by J. D. Glaser
October 2014
Intermediate to advanced content levelIntermediate to advanced
472 pages
10h 44m
English
Auerbach Publications
Content preview from Secure Development for Mobile Apps
398
seCure develoPment For mobIle APPs
First a click event is added to the CSS class of buttons, addItem. is allows a click
event handler to be added to each catalog item. e item to add to the cart is contained
in the value attribute of the button. is is the product code ID inserted into each
buttons value attribute during page creation with inline PHP on line number 46 in
ajaxStore.php.
<button class="addItem" value="<?php _H($row['product_code']);?>">
Notice the class addItem given to each button, which allows us to control them as
a group. In this case, it means connecting the same event handler to all the Add
buttons even though each button has a different code for adding the product it is
associatedwith.
e formNonce loaded into the pag ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Developing with Web Standards

Developing with Web Standards

John Allsopp
Mobile Cloud Computing

Mobile Cloud Computing

Dijiang Huang, Huijun Wu

Publisher Resources

ISBN: 9781482209037