Tagged Questions
0
votes
3answers
28 views
$ is not defined - asp.net MVC 4
With this code below, I get an error: $ is not defined. My question is: How it is possible?
...
<script type="text/javascript">
$(document).ready(function () {
$(function () {
...
1
vote
1answer
29 views
Ajax Table Loading
I am using Ajax call to load the table but I am getting Blank page as Return , Data is not displaying in table Div,
I have tried with $('#groupTable').load(data); as well but no luck , Please help ...
1
vote
1answer
25 views
Prevent Multiple Primary When the Checkbox is Checked
I have a Form where I want to limit the Data from my Drop Downlist when the checkbox is checked
So when the Is Primary checkbox is Checked , There will be no 2 Email address that the Is Primary is ...
0
votes
1answer
17 views
When posting Json using jQuery posted data is different than payload?
Can any one tell me why, when I construct a string in Jquery, in the Chrome Javascript Debugger it shows like:
...
2
votes
1answer
23 views
Load HTML5 Table Dynamically from ajax
I am working in ASP.Net MVC4 , In my view I have a table , want to load that table from
but not loading after success.
<div id="groupTable"> <table> table columns and rows ...
0
votes
1answer
29 views
Limit to One When the Checkbox is Checked
I have a Form where I want to limit the Data from my Drop Downlist when the checkbox is checked
So that When i Save theres a Message window that will Appear and Let the user know that he/she ...
0
votes
1answer
36 views
Parse json and populate dropdown by jquery
this is my json return from server side mvc controller.
[{"Id":"AL","Name":"Alabama"},{"Id":"FL","Name":"Florida"},{"Id":"IA","Name":"Iowa"},{"Id":"MS","Name":"Mississippi"}]
this way i am trying ...
0
votes
1answer
49 views
Jquery callback function working only with debugger
Following is my jquery function :
function logIn() {
debugger;
$.ajax({
type: "POST",
url: '@Url.Action("LogIn", "Login")',
success: function (result) {
...
-3
votes
0answers
21 views
how it possible.? add runtime dropdown text and value
How it possible.?
I have 2 drop down , 1st is static 'drpDisplayAns1' and 2nd is 'drpCorrectAns1' here i select 'drpDisplayAns1' option 2 then i get only 1 and 2 in 'drpCorrectAns1' my 2nd drop down, ...
0
votes
1answer
32 views
Save 2 Forms At the Same Time MVC 3
Im planning to save 2 forms but the 1st form is where i get the Foreign key for the Second form
This is my Attempt to save this Using Javascript
$("#btnSave").click(function (e) {
...
0
votes
1answer
47 views
MVC page not refresh with jquery
I am using mvc doing a post with jquery using a popup form. In my view I list the contents from my data using wizard mvc list creator. When I submit without a popup, it works fine and the page ...
0
votes
0answers
18 views
Typeahead for adding multiple entity
I have the following typeahead:
$('.typeahead').typeahead({
source: source,
updater: function (selection) {
console.log("You selected: " + selection);
...
0
votes
1answer
18 views
AJAX getJSON call works on IIS express but not on IIS (ASP.NET/MVC4)
It finds the MVC controller just find with IIS express. But once I switch to IIS and this call is made it cannot find the resource (404)
Is '/api/Values/5' correct? OR must it be done differently to ...
-1
votes
1answer
42 views
TypeError $(…) is not a function when using a jquery plugin
I got one for the Jquery experts.
I downloaded a simple jquery plugin to convert from Table to CSV.
Here is the source code... http://www.kunalbabre.com/projects/table2CSV.js
Now, I created a local ...
0
votes
3answers
19 views
jQuery Click Event Not Firing on Click
I'm creating a new view in MVC4 and ran into this issue. To test it out, I made a view with something but the master layout and one button. Whenever I click this button, the event handler doesn't ...