Googled long and tedious, found one example, but so tangled and complicated that he threw it. Tell me, how to put your picture instead of a standard circle with a dot?
38.1k5454 gold marks222222 silver marks438438 bronze marks
Andrey StifurakAndrey Stifurak
13011 golden mark22 silver marks1515 bronze marks
Write your implementation.Their browsers draw, each in its own way.Who can set an example on jquery, I'm not strong in it, but on the "pure" js it is pretty dreary.Well, actually <a href=" ryanfait.com/resources/custom-checkboxes-and-radio-buttons ... ...> , for example - Sh4dow
Why is it a chore on pure JS?O_o - Zowie
Look at the decision on the link from Sh4dow, selects are poorly implemented there, but checkboxes and radio buttons work fine, have used them repeatedly. - makregistr
@AlexWindHope Well, I mean a good solution.Type of addition to the <head> script with one line that replaces all the necessary fields with your own ones (replacing radio with hidden, followed by adding a div and attaching actions and styles to it).On jquery, this is clearly prettier, faster and more reliable. - Sh4dow
@Andrey Stifurak, If you are given an exhaustive answer, mark it as correct (click on the check mark next to the selected answer). - Rules
|
2 answers 2
It is done through <input type="image" src="noactive.gif" /> , when clicked, src="active.gif" , you want to draw pictures of what you want.
Nicolas Chabanovsky♦
38.1k5454 gold marks222222 silver marks438438 bronze marks
<head>script with one line that replaces all the necessary fields with your own ones (replacing radio with hidden, followed by adding a div and attaching actions and styles to it). On jquery, this is clearly prettier, faster and more reliable. - Sh4dow