Perlbug::JS - Object handler for Javascript methods


Perlbug documentation  | view source Contained in the Perlbug distribution.

Index


NAME

Top

Perlbug::JS - Object handler for Javascript methods

DESCRIPTION

Top

Javascript wrapper for Perlbug modules usage

SYNOPSIS

Top

	use Perlbug::JS;

	print Perlbug::JS->new()->menus;

METHODS

Top

new

Create new Perlbug::JS object.

	my $o_js = Perlbug::JS->new($isframed);

isframed

Return whether or not this window is framed

	my $i_framed = $o_js->isframed;

control

Return a popup, this will display the data and submit the form on the given frame/target/item.

	my $control = $o_js->control('menus');

menu suite

perlbug

perlbug display suite

commands

commands suite

pick

pick an item from one of the checkboxes

goback

goback(n) perlbug display

sel

sel(1) = select all items, or sel(0) = deselect

admin

Switch admin view on(1) or off(0)

onpageload

Arrange the command buttons

request

Call top.(perlbug?).document[0].submit()

go

Go directly to given search query

show

...

isframed

Return 1 or 0 dependent on whether we're in a framed window or not

frames

...

parse

...


Perlbug documentation  | view source Contained in the Perlbug distribution.