| Trying to change table information with javascript -new at this- [message #444230] | 
			Fri, 19 February 2010 08:43   | 
		 
		
			
				
				
				
					
						
						nik0lla
						 Messages: 17 Registered: February 2010  Location: Canada
						
					 | 
					Junior Member  | 
					 | 
		 
		 
	 | 
 
	
		Hey Guys, 
 
Still new to the whole oracle+java-script.  
 
My goal: I want to use java-script to open a prompt to see if the user wants to change the date of a work order (Located in Work_order_info called "opened_date") 
 
What I have so far: 
 
        var n = prompt("Is the checklist starting now? (Type either y or n)", "y or n");
        if (n == "y" || n == "Y"){
          alert("The opened date has now been changed!");
        }else if (n = "n" || n == "N"){
          alert("The opened date has not been changed! Sorry to bother you");
        }else{
          alert("You needed to type either n or y, nothing else!");
        }
 
 
What I need assistance on: I'm not entirely sure how to tell the table to change the opened_date to sysdate. I'm sure it's really simple >.> thanks! 
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 |