NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

<!DOCTYPE>
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

<body onload="onloading();"class="container">
<div class="row">
<font face="Times New Roman" size="3">

<div class="form_bg">
<form name=“entryForm” action="staticUIHandler" method="POST" onsubmit="return clickSubmit()">
<img src="Banner_image_1280_1-49b3ed1dc4d0cc04b543743f138256c0.jpg"
alt="Smiley face" width="100%">

<legend>
<br />

</legend>

<div class="contents col-xs-5">
<table style="" >

<col width="130">
<col width="80">


<tr>
<td width="50%"><label id="application" >Application:
</label></td>
<td width="50%"><select name="enterApplication"
id="applicationDetails" style="width: 150px" onchange="displayField();" required="required">


</select></td>
</tr>

<tr>
<td width="50%"><label id="Environment" >Environment:
</label></td>
<td width="50%"><select name="enterEnvironment"
id="environmentDetails" style="width: 150px" onchange="displayField();" required="required">


</select></td>
</tr>

</table>


<input style="margin-left: 40%;" id="mySubmit" value="Submit" type="submit" />

<input style="margin-left: 10%;" value="Reset" type="reset" onreset="reset()"/>

</div>

<div class="contents col-xs-6 col-xs-offset-1">

<p>
<b><strong>Guidelines: <br></strong></b>
1. GUideline1<br>
1. GUideline1<br>
1. GUideline1<br>
1. GUideline1<br>
1. GUideline1<br>
1. GUideline1




</p>

</div>

</form>
</div>

</font>
</div>
<style>
.hidden{
display: none;
}
</style>
<script>

function clickSubmit() {
var app = document.getElementById("applicationDetails");
var env = document.getElementById("environmentDetails");
var strUser = app.options[app.selectedIndex].text;

if(strUser=="Select")
{
document.getElementById("mySubmit").disabled = true;
}

}


function reset(){

$('#applicationDetails').value="Select";
$('#environmentDetails').value="Select";
}

function displayField(){

let environmentOptions = generateEnvironmentOptions();
$("#environmentDetails option").remove();
$("#environmentDetails").append(environmentOptions);

}

function onloading(){

$.getJSON("propertiesData.json", function(data) {
propertiesData = data;

let applicationOptions = generateOptions(propertiesData,0, "value");
$("#applicationDetails").append(applicationOptions);

let environmentOptions = generateEnvironmentOptions();
$("#environmentDetails option").remove();
$("#environmentDetails").append(environmentOptions);

});}


function generateOptions(optionsArr = [], selectedIndex=0, key, value = key) {
let options = "";
optionsArr.forEach(function(option, index) {
if(key) {
options = options.concat(`<option value="${option[key]}" ${selectedIndex === index ? 'selected' : ''}>${option[value]}</option>`);
} else {
options = options.concat(`<option value="${option}" ${selectedIndex === index ? 'selected' : ''}>${option}</option>`);
}
});
return options;
}

function generateEnvironmentOptions() {
let selectedApplication = $("#applicationDetails").val();
let selectedApplicationOption = propertiesData.find(function(option) {
return option.value === selectedApplication;
});
if(selectedApplicationOption) {
return generateOptions(selectedApplicationOption.options, 0, "value", "key");
}
}


</script>
</body>

</html>
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.