absolute basics for jQuery and jquery-impromptu use?

absolute basics for jQuery and jquery-impromptu use?

Hi,

I'm semi new to javascript but have used it a few times. I think I have figured out how to include a js file in my html too.

Can someone tell me step by step where to drop jquery and jquery-impromptu, what to name the files and anything else I need to do to make the code below work? The reason I ask about names is in case there are class files involved or impromtu looking for jquery in which case the name of my js files would be important.

Here's what I'm trying to do. I went here, http://trentrichardson.com/Impromptu/index.php and I'm just trying to use the first example on the page in an onclick button function for a form.

Here's the code I have.

[code]

<script type="text/javascript" src="./jscripts/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="./jscripts/jquery-impromptu.3.1.min.js"></script>


<script type="text/javascript">


function pupup(){
    $.prompt('Equipment Numbers Added');
    }


function submitForm(){
    document.forms["equipForm"].submit();
}

function show_alert()
{
alert("Equipment Succesfully Added To Inventory!");
}
</script>

[/code]

And here's the button
[code]
<input type="button" value="Add" name="addNumbers" id="addNumbers" onclick="submitForm();popup();window.close();"></input>
[/code]

The other functions work fine but the "popup()" function does nothing and causes the window to freeze and the alert never comes up.

As you can see in my script tags I saved jquery and impromptu as they were named when I downloaded them.

Can anyone tell me the basics by helping me get this simple function working?

Thanks