1

I created simple dialog window using jquery-ui. It's look like this:

<div id="dialog-form" title="Add Attribute Category">
    <input type="radio" id="priceable" name="price" value="true" checked="checked"/> Priceable
    <input type="radio" id="priceless" name="price" value="false"/> Priceless
</div>

This code works only in Firefox.

enter image description here

In other browsers like Chrome or IE all radio buttons not checked.

enter image description here

Maybe someone can help me and give advice?

Sorry for my bad English.

UPDATE add whole picture in chrome

enter image description here

the same dialog box in firefox

enter image description here

2
  • Remove =checked and it should work - although your code works fine on all three browsers on my system :s Commented Jan 21, 2014 at 8:42
  • this didn't help. although your code works fine on all three browsers if I create simple html page and past this code into body it also work fine on my machine, but I need to create dialog window with radio buttons Commented Jan 21, 2014 at 8:44

2 Answers 2

2

enter image description heretry:

<div id="dialog-form" title="Add Attribute Category">
<input type="radio" id="priceable" name="price" value="true" checked/> Priceable
<input type="radio" id="priceless" name="price" value="false"/> Priceless
</div>

but surprisingly your code works very fine on my system..

Sign up to request clarification or add additional context in comments.

5 Comments

look at my comment below the question
without ="checked" :p
I remove =checked but this has not any effect
I add picture of my dialog box opened in chrome. and you can see that this not help
see the picture in my answer
0

Try this one

<div id="dialog-form" title="Add Attribute Category">
<input type="radio" id="priceable" name="price" value="true" checked ="checked"> Priceable
<input type="radio" id="priceless" name="price" value="false"/> Priceless
</div>

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.