.val()

Previous Next

Gets or sets the value of the first column in scope.

Returns a string value representing the current (the "old") value of that column.

Syntax

.val( value )

The optional value is a new value that the first column in scope is set to.

 

Examples

var v = $.udb('EMP').rows('current').cols('EMPNO').val();

 

$.udb('EMP').rows('current').cols('DEPT').val('INT');