Login   Register  
PHP Classes
elePHPant
Icontem

File: grid.js

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Marcelo Costa  >  PDO XML Grid  >  grid.js  >  Download  
File: grid.js
Role: Auxiliary data
Content type: text/plain
Description: javascript datagrid select script
Class: PDO XML Grid
Show database data as HTML table using PDO and XSL
Author: By
Last change:
Date: 2007-10-05 13:01
Size: 277 bytes
 

Contents

Class file image Download
var selecionado;

function seleciona(el)
{
selecionado=el.id;
}

function butonaction(el)
{
if(!selecionado)
 {
  alert('Por favor, selecione um registro clicando com o botão do mouse.');
  return false;
  }
el.value=el.value+'&selecionado='+selecionado;
location = el.value;
}