Lasso Soft Inc. > Home


AuthorRichard Moore
CategoryCustom Tag
LicensePublic Domain
Posted09 Mar 2006
Updated09 Mar 2006
More by this author...


This tag does what Ajax.InPlaceEditor does in scriptaculous. It saves you from having to write any javascript (woohoo!). You must have scriptaculous field ( or lasso 8.5 include files in the page. Bascially you click on the text an it becomes editable. THIS TAG IS NOT SECURE Basically it will pass the table name. and paramter to update to a file called "update.lasso" This lasso code should do an inline update. This will update the field in real time without submitting a form.

Sample Usage

    -size = 10, 

Source Code

Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.

define_tag: 'Ajax.inPlaceEditor',-container,-required='id',-optional='pair';
if:(named_param:'-div');local:'myDiv' = (named_param:'-div');else;local:'myDiv' = (lasso_uniqueID);/if;
if:(named_param:'-size');local:'mySize' = (named_param:'-size');else;local:'mySize' = 6;/if;
if:(named_param:'-rows');local:'myRows' = (named_param:'-rows');else;local:'myRows' = 1;/if;
return:'' + run_children + '';

Related Tags


30 May 2008, Greg Hemphill URL

BTW the URL is "" not ""

Please log in to comment

Subscribe to the LassoTalk mail list

LassoSoft Inc. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft