The return false; prevents the browser to follow the href link. Note that have the method return false does not work.
Archive for October, 2008
Make sure that you are logged into logged into your machine’s local admin account before installing. If you don’t – whether or not the account is an admin it will fail to install properly.
PS – It takes about 2:30 to install it completely.
<input style=”margin-left: 0″ type=”file” name=”photoFile” onchange=”upload(event)”/>
var target = $.event.fix(e).target;
If you want to use the traditional HTML event binding and still use jQuery, here is a quick tip to get a “clean” (i.e. cross browsers) html event using jQuery.event.fix:
<input type=”file” name=”photoFile” onchange=”upload(event)”/>
var e = $.event.fix(e);
alert(“target: ” + e.target);
Assuming 1 to M from Person to Address:
FOREIGN KEY (person_id)
REFERENCES person(id) ON DELETE CASCADE
Make sure that you keep the
insert into PRODUCT (name,desc) values (#name#, #description#)
select LAST_INSERT_ID() as id