Click here to Skip to main content
15,881,559 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: JavaScript Function and Problem with Backspace Button Pin
NeverHeardOfMe10-Dec-10 23:20
NeverHeardOfMe10-Dec-10 23:20 
Questionaspx page functionality call from javascript in html page Pin
ramuksasi9-Dec-10 6:22
ramuksasi9-Dec-10 6:22 
AnswerRe: aspx page functionality call from javascript in html page Pin
Gerben Jongerius9-Dec-10 20:21
Gerben Jongerius9-Dec-10 20:21 
GeneralRe: aspx page functionality call from javascript in html page Pin
Monjurul Habib1-Mar-11 8:30
professionalMonjurul Habib1-Mar-11 8:30 
AnswerRe: aspx page functionality call from javascript in html page Pin
Monjurul Habib1-Mar-11 8:32
professionalMonjurul Habib1-Mar-11 8:32 
Questionregarding jquery effect Pin
Tridip Bhattacharjee1-Dec-10 21:23
professionalTridip Bhattacharjee1-Dec-10 21:23 
AnswerRe: regarding jquery effect Pin
Shahriar Iqbal Chowdhury/Galib2-Dec-10 9:14
professionalShahriar Iqbal Chowdhury/Galib2-Dec-10 9:14 
QuestionHTML Select tag Pin
salmonraju29-Nov-10 23:56
salmonraju29-Nov-10 23:56 
Hi
I have an application that uses html select tag.
My application provides different font sizes. When I am selecting font size which is more than current value.
My HTML Select tag is enlarging accordingly but when I am reducing font size , my select tag is not reducing accordingly.
I am still seeing large dropdown image. Can you please suggest how can i reduce drop down size.

Please find below example.

<html>
<script language="javascript">
function ok_clicked()
{
document.getElementById('sel1').style.fontSize = 17;
}
function ok2_clicked()
{
document.getElementById('sel1').style.fontSize = 9;
}
</script>
<body>
<select id="sel1" style="font-size: 13px;">
<option>Volvo</option>
<option>Saab</option>
<option>Mercedes</option>
<option>Audi</option>
</select>
<input type="button" name="Go2224" value="OK" onClick="ok_clicked();">
<input type="button" name="Go2222" value="Decrease font" onClick="ok2_clicked();">
</body>
</html>
AnswerRe: HTML Select tag Pin
WoutL30-Nov-10 2:22
WoutL30-Nov-10 2:22 
AnswerRe: HTML Select tag [modified] Pin
daveyerwin30-Nov-10 2:29
daveyerwin30-Nov-10 2:29 
AnswerRe: HTML Select tag Pin
Hiren solanki2-Dec-10 1:09
Hiren solanki2-Dec-10 1:09 
QuestionDo you see any errors here? Pin
Ella Corp27-Nov-10 22:51
Ella Corp27-Nov-10 22:51 
AnswerRe: Do you see any errors here? Pin
Not Active28-Nov-10 12:14
mentorNot Active28-Nov-10 12:14 
AnswerRe: Do you see any errors here? Pin
J4amieC29-Nov-10 22:40
J4amieC29-Nov-10 22:40 
AnswerRe: Do you see any errors here? Pin
musefan30-Nov-10 0:49
musefan30-Nov-10 0:49 
QuestionAccess denied for parent.parent.enableclock(); Pin
raghvendrapanda23-Nov-10 19:24
raghvendrapanda23-Nov-10 19:24 
AnswerRe: Access denied for parent.parent.enableclock(); Pin
T M Gray1-Dec-10 8:50
T M Gray1-Dec-10 8:50 
QuestionLocal data Pin
rrrado22-Nov-10 5:32
rrrado22-Nov-10 5:32 
AnswerRe: Local data Pin
DaveAuld22-Nov-10 5:46
professionalDaveAuld22-Nov-10 5:46 
AnswerRe: Local data Pin
Not Active22-Nov-10 6:57
mentorNot Active22-Nov-10 6:57 
GeneralRe: Local data Pin
rrrado22-Nov-10 22:04
rrrado22-Nov-10 22:04 
GeneralRe: Local data Pin
Not Active23-Nov-10 2:13
mentorNot Active23-Nov-10 2:13 
GeneralRe: Local data Pin
rrrado23-Nov-10 3:12
rrrado23-Nov-10 3:12 
GeneralRe: Local data Pin
Not Active23-Nov-10 3:23
mentorNot Active23-Nov-10 3:23 
GeneralRe: Local data Pin
rrrado23-Nov-10 3:47
rrrado23-Nov-10 3:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.