Skip to content
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

Form properties and methods #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

msisaifu
Copy link
Contributor

No description provided.

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`, যার মাধ্যমে আমরা একাধিক অপশন সিলেক্ট করতে পারি, তবে এটা খুব কদাচিৎ ব্যবহার করা হয়।
Copy link
Contributor

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):
Copy link
Contributor

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>`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<select> অপশান গুলোর ইন্ডেক্স নাম্বার ।

@javascript-translate-bot

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

Copy link
Member

@jaamaalxyz jaamaalxyz left a 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.

@javascript-translate-bot

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

@jaamaalxyz
Copy link
Member

@msisaifu please take a look back and resolved the requested changes, we are looking forward to your contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants