Jump to content

reading a statement


ballouta

Recommended Posts

Hello

I am studying a function getCompletion(inputControl, evt)

the html code is

<input id="name" type="text" onkeyup="getCompletion(this, event)"/>

the function starts with statement and my questions about it:

 

evt=evt ? evt : (event? event : null);

 

1) is evt the second parameter sent in the onkeyup event?

2) What is event?

3) how can we read this statement? what does it do?

 

thank you very much

Link to comment
https://forums.phpfreaks.com/topic/234171-reading-a-statement/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.