Click here to Skip to main content
15,913,141 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to add anchor tag in uploded html page Pin
CommDev20-Dec-12 20:04
CommDev20-Dec-12 20:04 
GeneralRe: How to add anchor tag in uploded html page Pin
chirag774920-Dec-12 20:14
chirag774920-Dec-12 20:14 
GeneralRe: How to add anchor tag in uploded html page Pin
n.podbielski22-Dec-12 21:57
n.podbielski22-Dec-12 21:57 
GeneralRe: How to add anchor tag in uploded html page Pin
n.podbielski22-Dec-12 21:57
n.podbielski22-Dec-12 21:57 
Questionjquery for asp.net sometimes work sometimes doesn't work Pin
Dhyanga19-Dec-12 11:57
Dhyanga19-Dec-12 11:57 
AnswerRe: jquery for asp.net sometimes work sometimes doesn't work Pin
jkirkerx19-Dec-12 17:25
professionaljkirkerx19-Dec-12 17:25 
GeneralRe: jquery for asp.net sometimes work sometimes doesn't work Pin
Dhyanga19-Dec-12 17:50
Dhyanga19-Dec-12 17:50 
AnswerRe: jquery for asp.net sometimes work sometimes doesn't work Pin
jkirkerx19-Dec-12 18:09
professionaljkirkerx19-Dec-12 18:09 
In Jquery, it's more along the lines of this. I guessed at the ID or the radio button set, won't work, just an example of how to format it. but it's closer to what you want.

So it binds the change event to the DOM, and fires the function, passing the event to it. Radio buttons are checkboxs, they act the same, and have the same events, so think of them as checkboxes. If you have a group of them, say 2, then you have to get the selected index of the 2 radio buttons, which is an array of values, from the DOM. That's what the [0] is for.

I was about to leave tor the night and sleep, but wanted to help a little more if possible. I can tell your not that familiar with Jquery. If you have an update panel on the page, this won't work after using the update panel once, because the DOM unloaded.

<script language="JavaScript" type="text/javascript">
 
    $(document).ready( function() {

         $('[id*="radbutSelector"]').change( function(event) {
            confirmDelete(event);
         });
    });   
 
    function confirmDelete(event) {
        var newradio= $("input[name='pick_up_point']:checked")[0];

        if (newradio===currentradio)
            return;
        if (confirm('Address details will be cleared. Continue?')) {
            clearInputFields();
            currentradio= newradio;
        } else {
            currentradio.checked= true;
        }
    }   
 
    </script>

QuestionOnly 1 use for admin? Pin
xnaLearner19-Dec-12 1:28
xnaLearner19-Dec-12 1:28 
QuestionHave userID in view, need userName posted Pin
xnaLearner19-Dec-12 0:41
xnaLearner19-Dec-12 0:41 
AnswerRe: Have userID in view, need userName posted Pin
Matt U.19-Dec-12 4:11
Matt U.19-Dec-12 4:11 
AnswerRe: Have userID in view, need userName posted Pin
CommDev20-Dec-12 22:55
CommDev20-Dec-12 22:55 
QuestionUnable to start program http://localhost:1837/default.aspx using VS 2008 in Windows XP IE 8 Pin
sr15919-Dec-12 0:08
sr15919-Dec-12 0:08 
QuestionHow to access 'name' given when user registers Pin
xnaLearner18-Dec-12 22:52
xnaLearner18-Dec-12 22:52 
AnswerRe: How to access 'name' given when user registers Pin
xnaLearner18-Dec-12 22:58
xnaLearner18-Dec-12 22:58 
Questionsequence contains no elements Pin
xnaLearner18-Dec-12 2:44
xnaLearner18-Dec-12 2:44 
AnswerRe: sequence contains no elements Pin
Matt U.18-Dec-12 7:23
Matt U.18-Dec-12 7:23 
GeneralRe: sequence contains no elements Pin
xnaLearner18-Dec-12 23:00
xnaLearner18-Dec-12 23:00 
GeneralRe: sequence contains no elements Pin
Matt U.19-Dec-12 1:47
Matt U.19-Dec-12 1:47 
Question[session] returns null Pin
xnaLearner17-Dec-12 23:20
xnaLearner17-Dec-12 23:20 
AnswerRe: [session] returns null Pin
Rahul Rajat Singh17-Dec-12 23:47
professionalRahul Rajat Singh17-Dec-12 23:47 
GeneralRe: [session] returns null Pin
xnaLearner18-Dec-12 0:10
xnaLearner18-Dec-12 0:10 
GeneralRe: [session] returns null Pin
xnaLearner18-Dec-12 0:12
xnaLearner18-Dec-12 0:12 
SuggestionRe: [session] returns null Pin
Chandrabhan Sangale18-Dec-12 17:59
professionalChandrabhan Sangale18-Dec-12 17:59 
QuestionMultilingual support for Web Application Pin
AB777117-Dec-12 23:18
AB777117-Dec-12 23:18 

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.