File: index.js

Recommend this page to a friend!
  Classes of Dennis de Swart  >  PHP Stanford NLP Datastore  >  index.js  >  Download  
File: index.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Stanford NLP Datastore
Analyse text with NLP and stores in a database
Author: By
Last change:
Date: 3 years ago
Size: 918 bytes
 

Contents

Class file image Download
$(document).ready(function() {
    
        $("#helpButton").click(function(){       
            if(document.getElementById('inputText')){
                document.getElementById('inputText').value = "";
            }
            document.getElementById("inputHelpButton").value ='1';                     
            $( "#textForm" ).submit();
        });
        
        $("#enterButton").click(function(){
            if(document.getElementById('inputText')){
                document.getElementById('inputText').value = "";
            }          
            document.getElementById("inputEnterButton").value = '1';
            $( "#textForm" ).submit();
        });
        
        $("#searchButton").click(function(){
            document.getElementById("inputSearchButton").value = '1';
            document.getElementById('inputText').value = "";
            $( "#textForm" ).submit();
        });
    });

For more information send a message to info at phpclasses dot org.