Skip to content
Snippets Groups Projects
Verified Commit 84abc323 authored by Joshua Barlin's avatar Joshua Barlin
Browse files

Add so that it is a switch between casual (2) and continuing (3)

parent b6a304e2
No related branches found
No related tags found
No related merge requests found
......@@ -156,6 +156,7 @@ function copyToClipboard(str) {
}
$(document).ready(function () {
/*
$('#sectionbutton').click(function () {
switch ($('#sectiondropdown').val()) {
......@@ -169,6 +170,9 @@ $(document).ready(function () {
break;
}
});
*/
$("#continuing").show();
$("#casual").hide();
$('#posntype-dr1').on('change', function () {
if ($(this).val() == 'contract') {
$('#posntype-dr4').attr('disabled', false);
......
......@@ -31,7 +31,7 @@
<body>
<h1>eRecruitment Advertisement Designer Prototype 2</h1>
<a href="prototype3.html">Prototype 3</a>
<a href="prototype3.html">Continuing Editor (Prototype 3)</a>
<div id="wrapper">
<div id="input-div">
<h2 id="input-header">Input</h2>
......
......@@ -32,15 +32,15 @@
<body>
<h1>eRecruitment Advertisement Designer Prototype 3</h1>
<a href="prototype2.html">Prototype 2</a>
<a href="prototype2.html">Casual Editor (Prototype 2)</a>
<div id="wrapper">
<div id="input-div">
<h2 id="input-header">Input</h2>
<select id="sectiondropdown" aria-label="Advert type" name="sectiondropdown">
<!-- <select id="sectiondropdown" aria-label="Advert type" name="sectiondropdown">
<option>Please select</option>
<option value="continuing">Continuing position</option>
<option value="casual">Casual position</option>
</select> <button name="sectionbutton" id="sectionbutton">Select</button>
</select> <button name="sectionbutton" id="sectionbutton">Select</button> -->
<!-- start continuing -->
<form autocomplete="off" id="continuing" class="display-none">
......@@ -321,5 +321,4 @@
</body>
</html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment