Click here to Skip to main content
15,889,861 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: ASP.Net Web API Deployment Not Working Pin
Richard Deeming29-May-19 7:53
mveRichard Deeming29-May-19 7:53 
GeneralRe: ASP.Net Web API Deployment Not Working Pin
Kevin Marois29-May-19 8:12
professionalKevin Marois29-May-19 8:12 
QuestionPhoto Collage in Bootstrap...possible? Pin
Member 1208020129-May-19 6:05
Member 1208020129-May-19 6:05 
AnswerRe: Photo Collage in Bootstrap...possible? Pin
Pete O'Hanlon29-May-19 22:04
mvePete O'Hanlon29-May-19 22:04 
QuestionHandling Web Request Failures Pin
Kevin Marois22-May-19 5:28
professionalKevin Marois22-May-19 5:28 
AnswerRe: Handling Web Request Failures Pin
Nathan Minier22-May-19 6:02
professionalNathan Minier22-May-19 6:02 
QuestionRestSharp Response Question Pin
Kevin Marois20-May-19 13:30
professionalKevin Marois20-May-19 13:30 
AnswerRe: RestSharp Response Question Pin
Richard Deeming21-May-19 0:49
mveRichard Deeming21-May-19 0:49 
QuestionAuthentication/Authorisation Pin
Mycroft Holmes16-May-19 12:47
professionalMycroft Holmes16-May-19 12:47 
AnswerRe: Authentication/Authorisation Pin
Richard Deeming17-May-19 1:03
mveRichard Deeming17-May-19 1:03 
GeneralRe: Authentication/Authorisation Pin
Mycroft Holmes17-May-19 12:44
professionalMycroft Holmes17-May-19 12:44 
QuestionQuestion about empty button top positioning. Pin
neodeaths11-May-19 12:39
neodeaths11-May-19 12:39 
AnswerRe: Question about empty button top positioning. Pin
Richard Deeming13-May-19 8:09
mveRichard Deeming13-May-19 8:09 
QuestionWeb API Not Working Pin
Kevin Marois10-May-19 10:57
professionalKevin Marois10-May-19 10:57 
AnswerRe: Web API Not Working Pin
Richard Deeming10-May-19 11:12
mveRichard Deeming10-May-19 11:12 
QuestionNeed Some Of Your Help Pin
Member 143595087-May-19 21:12
Member 143595087-May-19 21:12 
QuestionMVC5 Load partial view on link click Pin
#realJSOP4-May-19 6:52
mve#realJSOP4-May-19 6:52 
AnswerRe: MVC5 Load partial view on link click Pin
jkirkerx5-May-19 13:53
professionaljkirkerx5-May-19 13:53 
GeneralRe: MVC5 Load partial view on link click Pin
#realJSOP6-May-19 1:38
mve#realJSOP6-May-19 1:38 
AnswerRe: MVC5 Load partial view on link click Pin
Richard Deeming8-May-19 1:31
mveRichard Deeming8-May-19 1:31 
Quote:
HTML
<a href="@btnLinkAbout"   class="btn btn-primary aef-app-info about-btn">
JavaScript
url = $(this).data('url')

Your script is taking the URL from the data-url attribute on your link. But you don't seem to have a data-url attribute on your link.

I suspect you just want the href attribute instead:
JavaScript
$('.aef-app-info').on('click', function(evt) {
    evt.preventDefault();
    evt.stopPropagation();

    var $contentDiv = $('#siteInfoContent'),
        url = this.href;

    $.get(url, function(data) { $contentDiv.html(data); });
});

Otherwise, you'll need to add the data-url attribute to your links:
HTML
<a href="@btnLinkAbout" data-url="@btnLinkAbout" class="btn btn-primary aef-app-info about-btn">@aboutBtnText</a>
<br/>
<a href="@btnLinkContact" data-url="@btnLinkContact" class="btn btn-primary aef-app-info contact-btn">Contact Us</a>




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

Questiononline distance learning management system Pin
Sibanda Benon30-Apr-19 20:42
Sibanda Benon30-Apr-19 20:42 
AnswerRe: online distance learning management system Pin
Kevin Marois2-May-19 10:12
professionalKevin Marois2-May-19 10:12 
QuestionHow To Run Website Without Web Hosting Pin
Kamakoti Satish Kumar23-Apr-19 1:13
Kamakoti Satish Kumar23-Apr-19 1:13 
AnswerRe: How To Run Website Without Web Hosting Pin
#realJSOP23-Apr-19 5:28
mve#realJSOP23-Apr-19 5:28 
AnswerRe: How To Run Website Without Web Hosting Pin
Nathan Minier23-Apr-19 18:53
professionalNathan Minier23-Apr-19 18:53 

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.