Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 486113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T01:28:13+00:00 2026-05-13T01:28:13+00:00

can anyone help? I have just started asp.net mvc and its all working.. entering

  • 0

can anyone help?

I have just started asp.net mvc and its all working.. entering my controller and then sending out the view… I am also writing a log here….

The page that loads as quite a bit jquery and javascript so i need to be able to enter into the controller again preferably not a postback but via ajax or similar – is this possible?

Or do i call an action on a controller from javascript i suppose my question should be – ???

Any ideas?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T01:28:13+00:00Added an answer on May 13, 2026 at 1:28 am

    Well if you want to do ajax against a controller you can do an .ajax with jQuery like this:

    $.ajax({
                     type: "GET",//type of verb to use POST/GET
                     data: ({ Data:data }),//Send some data to the controller
                     url: '<% = Url.Action("MEthod","Controller")%>',//URL of the resource
                     dataType: "text/html", //Define the type of spectated results(JSON,Html,Xml)
                     timeout: 8000, //How much time to wait for the asynchronous call to complete
                     error: function() {
                         alert('ERROR');
                     }, //end error
                     success: function(html) {
                     //Here do something with the result hold in the html variable  
                     } //end succes
                 });   //end ajax
    

    For a complete reference you can visit the jQuery Documentation http://docs.jquery.com/Ajax

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In ASP.NET MVC 2, TempData values persist until the session ends or until they
I have just started learning java and i have about 8 months time. My
I've just started creating Unit Tests for my code again. I have had PHPUnit
I've just started Android development with Eclipse, so I've been going through all the
I am just getting into OOP and framework design. I have started by using
Im just getting started with PHP, and I need to export a table from
I have the following scenario: My app gets some data from the command line.
I'm trying to read in a text file line by line and process each
This is my first time here so I apologize in advance if this question
pulled down a repo from git. For some reason I need to do ./script/rails.rb

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.