RafVandelaer / jquery-load-json

Automatically exported from code.google.com/p/jquery-load-json
0 stars 0 forks source link

Input type color is not getting updated from json data using loadjson #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. input type color doesnt get populated with the json data
2. <input type="color" name="color_lo_idx" id="color_lo_idx" value="#00ff00"/>
3.

What is the expected output? What do you see instead?
Instead of the field being populated with JSON data it is not populated

What version of the product are you using? On what operating system?
v1.0.0

Please provide any additional information below.

Original issue reported on code.google.com by prathiba...@gmail.com on 1 Aug 2014 at 6:47

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
                case 'radio':
                    if (value.toString().toLowerCase() == element.value.toLowerCase())
                        $(element).attr("checked", true);
                    break;

                case 'checkbox':
                    if (value)
                        $(element).attr("checked", "checked");
                    break;

Original comment by prathiba...@gmail.com on 20 Aug 2014 at 3:50