<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"> </script> <script type="text/javascript">
var $k = jQuery.noConflict();
$k(function(){
$k("select[id^='tmp']").change(function(){
var geno3 =$k('#tmp').val();
if(geno3=='filename') {
$k('#tmp1').attr("placeholder", "Ex: 'ICC8937_Read1.fastq.gz' etc");
}
if(geno3=='runno') {
$k('#tmp1').attr("placeholder", "Ex: '2,4' etc");
}
if(geno3=='projectid') {
$k('#tmp1').attr("placeholder", "Ex: 'ceg001,ceg002' etc");
}
});
});
</script>
Search the Database with any one of the following option:
<form id="Basic_search" action="qcsearch.php" enctype="multipart/form-data" name="Basic_search" method="POST"> <input type="radio" name="Search_opt" value="keywrd" /> <select id="tmp" name="key1" onchange="SetText(key1,word1)"><option selected="selected" value="projectid">project id</option><option value="runno">run no</option><option value="filename">file name</option></select>: <input id="tmp1" type="text" name="word1" size="30" placeholder="Ex: 'ceg001,ceg002' etc" /> <center> <INPUT TYPE="Reset" VALUE="Reset"> <input style="align: center;" type="Submit" value="Search" /></center></form>
vinodvalluri
vinodvalluri
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.