Jump to content
  • 0

input type


SingIe
 Share

Question

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>Тег INPUT</title>

</head>

<body>

<form name="test" method="post" action="input1.php">

<p><b>Ваше имя:</b><br>

<input name="nick" type="text" size="40">

</p>

<p><b>Каким браузером в основном пользуетесь:</b><Br>

<input type="radio" name="browser" value="ie"> Internet Explorer<Br>

<input type="radio" name="browser" value="opera"> Opera<Br>

<input type="radio" name="browser" value="firefox"> Firefox<Br>

</p>

<p>Комментарий<Br>

<textarea name="comment" cols="40" rows="3"></textarea></p>

<p><input type="submit" value="Отправить">

<input type="reset" value="Очистить"></p>

</form>

</body>

</html>

Добрый вечер всем, ребят как сделать что бы по умолчанию радио кнопка была отмечена на Internet Explorer

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0
Добрый вечер всем, ребят как сделать что бы по умолчанию радио кнопка была отмечена на Internet Explorer

Читайте http://htmlbook.ru/html/input/checked

<input type="radio" name="browser" value="ie" checked>

Edited by stars
Link to comment
Share on other sites

  • 0

Прошу прощения есть радио кнопка вида <input type="hidden" name="param_activation" onClick="check_param_activation()" disabled><span onClick="check_span_param_activation_2()"> что вписать что бы по умолчанию выбиралась

пишу: <input type="hidden" name="param_activation" onClick="check_param_activation()" checked><span onClick="check_span_param_activation_2()">

не помогает

Edited by SingIe
Link to comment
Share on other sites

  • 0

Сорри вот как у меня, но автоматом кнопка не выбирается

<input type="radio" name="param_activation" onClick="check_param_activation()" disabled><span onClick="check_span_param_activation_2()" checked> </span>

<input type="radio" name="param_activation" onClick="check_param_activation()" checked><span onClick="check_span_param_activation_2()" > </span>

так и так не помогает

Edited by SingIe
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy