hey Thanks guys! I have found my problem. I assigned a POST to the variable $name. I was supposed to assign a GET request. Sorry for wasting your time, but I highly appreciate all of your insights. I will definitely, use them for my codes. Thank you!
...script.
Here is the form code for course name and course instructor. I have also highlighted the link to the "Add new course" form.
<p><label>* Course Name</label> <select name="training" id="training" onclick="display_course_instructor(this.value);">
<b><!--<option value="select"...
Hi There,
I have two forms in a website. When a user is filling in Form A and finds that a certain value is not found within one of the form select fields, then the user has to add that value through form B. I would like to open a Form B within the page when a user clicks a link to form B...
Hi There,
Im working on creating an ajax request that will be called through the onunload event in the body tag.
I have set a unique id for my form so that each time the form opens a new id is created. This automatically gets submitted to the database. However, if the user exits the page...
...the data will be entered into the db. How can I implement this logic into my code:
This is what i have currently for my summary page:
<?php
/*session_start();
if($_SESSION['UID'] = 1)
{
session_unset();
session_destroy();
} */
//continue and end session from form. Duplication...
hi..
I created a form using php server and javascript client side. Once the user submits the form, if they click the back button then clicks the submit button again, the form gets re submitted. I do not want to do this. I would like to disable ( idea of atleast) the brower's back button so...
the expression doesnt seem to be working, unless i did not implement it correectly:
this is what I did:
function nameRegex(str)
{
return /[\?!><]/.test(str);
}
function checkName(str)
{
if(nameRegex(str) == true)
{
return false;
}
}...
oh wow...im way off...i was intending for some thing where..within the string any character that is ?!><. haha, i need to study this regex expressions. I was referring to some expression on one of the websites.
Oh im sorry..i thought I responded to that problem...well I found out that there is a date parse function that you can use. So I parsed the dates and then compared them in one line..
if(Date.parse(cStartD.value) > Date.parse(cEndD.value))
{
alert('ERROR: Start Date is greater than...
Hi,
I am a newbie to reg expressions but trying to create one to control what is typed in a form field. If certain characters are found, an alert box pops up a msg when the user clicks submit. I tried my code, but it is not working..im sure there is something wrong with the regex...plz check...
Hi,
I am trying to create a date check scenario to see if my start date greater than my end date:
This is the code im using
var cStartD = myForm.startDate;
var cEndD = myForm.endDate;
var startD_array = cStartD.value.split("/");
var endD_array = cEndD.value.split("/")...
Hi,
I was wondering how to check the network traffic ( which internet addresses are being accessed) through a cisco 2600 router come firewall that has NAT ( basic security), second level access list, and CBAC. I dont know the command to check it.
Well after rebooting the imac, the issue goes away. But after a while, the screen gets locked again, and I would have to reboot again. Will I lose any of my documents/files if reset my pram and nvram? Or does it just reset the config settings?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.