-
Notifications
You must be signed in to change notification settings - Fork 89
Form properties and methods #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
select.options[2].selected = true; | ||
select.selectedIndex = 2; | ||
select.value = 'banana'; | ||
</script> | ||
``` | ||
|
||
Unlike most other controls, `<select>` allows to select multiple options at once if it has `multiple` attribute. Although such functionality is available, it is rarely used. | ||
`<select>` কন্ট্রোলের একটি অ্যাট্রিবিউট আছে `multiple`, যার মাধ্যমে আমরা একাধিক অপশন সিলেক্ট করতে পারি, তবে এটা খুব কদাচিৎ ব্যবহার করা হয়। |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
অন্যান্য সকল কন্ট্রোলার ব্যাতীত <select>
একই সময় একাধিক অপশান সিলেক্ট করতে দেয় যদি multiple
এট্রিবিউট থাকে । আর এই ধরনের ফাংশানিলিট থাকা সত্ত্বেও খুবই কমই ব্যবহার হয় ।
|
||
In the [specification](https://html.spec.whatwg.org/multipage/forms.html#the-option-element) there's a nice short syntax to create `<option>` elements: | ||
`<option>` এলিমেন্ট তৈরির একটি শর্ট সিনট্যাক্স আছে [specification](https://html.spec.whatwg.org/multipage/forms.html#the-option-element): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
এখানে specification <option>
এলিমেন্ট তৈরির একটি শর্ট সিনট্যাক্স আছে :
|
||
`option.index` | ||
: The number of the option among the others in its `<select>`. | ||
: The number of the option among the others in its `<select>`। |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<select>
অপশান গুলোর ইন্ডেক্স নাম্বার ।
Please make the requested changes. After it, add a comment "/done". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve the commented part and push your update.
Please make the requested changes. After it, add a comment "/done". |
@msisaifu please take a look back and resolved the requested changes, we are looking forward to your contribution |
No description provided.