Click here to Skip to main content
15,902,635 members
Home / Discussions / Web Development
   

Web Development

 
Generalserver: connection vs request - help needed to understand programming theory Pin
Member 1004803228-Jun-13 14:14
Member 1004803228-Jun-13 14:14 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Marc Clifton28-Jun-13 14:35
mvaMarc Clifton28-Jun-13 14:35 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Member 1004803229-Jun-13 4:50
Member 1004803229-Jun-13 4:50 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Marc Clifton29-Jun-13 5:43
mvaMarc Clifton29-Jun-13 5:43 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Member 1004803229-Jun-13 6:33
Member 1004803229-Jun-13 6:33 
GeneralRe: server: connection vs request - help needed to understand programming theory Pin
Member 1004803229-Jun-13 9:44
Member 1004803229-Jun-13 9:44 
QuestionWCF Reporitng Service Pin
eddieangel28-Jun-13 6:44
eddieangel28-Jun-13 6:44 
QuestionForm close code Pin
astrixtech28-Jun-13 3:39
astrixtech28-Jun-13 3:39 
SuggestionRe: Form close code Pin
David Mujica28-Jun-13 3:51
David Mujica28-Jun-13 3:51 
GeneralRe: Form close code Pin
astrixtech30-Jun-13 19:27
astrixtech30-Jun-13 19:27 
QuestionRadio button default checked Pin
astrixtech28-Jun-13 3:33
astrixtech28-Jun-13 3:33 
QuestionRe: Radio button default checked Pin
astrixtech30-Jun-13 19:29
astrixtech30-Jun-13 19:29 
AnswerRe: Radio button default checked Pin
thanh_bkhn30-Jun-13 20:37
professionalthanh_bkhn30-Jun-13 20:37 
QuestionRe: Radio button default checked Pin
astrixtech30-Jun-13 21:12
astrixtech30-Jun-13 21:12 
AnswerRe: Radio button default checked Pin
thanh_bkhn30-Jun-13 21:25
professionalthanh_bkhn30-Jun-13 21:25 
GeneralRe: Radio button default checked Pin
astrixtech30-Jun-13 21:40
astrixtech30-Jun-13 21:40 
GeneralRe: Radio button default checked Pin
thanh_bkhn30-Jun-13 21:55
professionalthanh_bkhn30-Jun-13 21:55 
GeneralRe: Radio button default checked Pin
astrixtech30-Jun-13 23:00
astrixtech30-Jun-13 23:00 
Okay I thought the code started to work a bit cos of runat attribute. Thanks for the info. Smile | :)
Please find below the code.
$(document).ready(function() {
var chbx = $(".s4-itm-cbx");
var element = chbx.replaceWith('<input type="radio" runat="server" name="rdList" style="width:12px; height:12px;"  value="'+checkbox.attr('value')+'"/>');
//document.getElementById("#rdList").checked = true;
//$("#rdList").checked = true;
//$(this).trigger('click');
//$('input:radio[name=rdList]')['0'].checked = true;
$('input:radio[name=rdList]:nth(0)').attr('checked',true);
$("input:radio[name=rdList]:checked").trigger('click');


$("input[type='radio']").click(function(){
var crbx = document.activeElement;
$("input[type='radio']").each(function () {
if(this!= crbx && this.checked == true){
this.checked = false;
$(this).trigger('click');
}
});
});
});

Couple of other information:
I am creating a Sharepoint list,where checkboxes are allowed. The requirement is ,the user should be able to select only one listitem at a time.Thats why I am changing the checkboxes to radio button. Again, the first list item should be selected by default.Hope, this information is sufficient.
QuestionRegarding Wordpress Solution Pin
David Kroj26-Jun-13 22:57
David Kroj26-Jun-13 22:57 
GeneralHelp for a new and intersted to know about HTML Pin
BLue.iCe.BoX26-Jun-13 22:41
BLue.iCe.BoX26-Jun-13 22:41 
GeneralRe: Help for a new and intersted to know about HTML Pin
jaideepsinh27-Jun-13 0:45
jaideepsinh27-Jun-13 0:45 
GeneralRe: Help for a new and intersted to know about HTML Pin
BLue.iCe.BoX27-Jun-13 17:19
BLue.iCe.BoX27-Jun-13 17:19 
QuestionBreadcrump Pin
astrixtech26-Jun-13 20:28
astrixtech26-Jun-13 20:28 
QuestionRe: Breadcrump Pin
astrixtech30-Jun-13 19:30
astrixtech30-Jun-13 19:30 
QuestionCSS-Sprites question Pin
vkEE26-Jun-13 5:06
vkEE26-Jun-13 5:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.