I have a div which I would like to fill with a jsTree:  I get the "Loading" icon where the tree is meant to display, however, there would seem to be a javascript error, even though one is not thrown.  I load my folder structure from an AJAX R...
I have some <li> Items in my HTML Page like this  <li id="A1" class="ui-state-default">Item 2</li>   <li id="A2" class="ui-state-default">Item 3</li>   <li id="A3" class="ui...
I am trying to call a webmethod I created. The problem I'm having is that the ajax call never calls my webmethod; this is strange to me because I have another webmethod located in the same file with the same return type and parameters that is abl...
I have a textbox and a dropdownlist on my client side. I need to pass the values of these controls to a webmethod (in the code behind) using javascript. I can pass the textbox value but not the dropdownlist.  <p><asp:DropDownList id="ddl...
I want to pass multiple parameters to my ajax code. Which is 3 parameters. So, I added like below   $(document).ready(function () {         SearchText();     });     function SearchText() {         $("#txt712").autocomplete({             sour...
Sorry if this is a simple answer, but I can't seem to find this (on SO or Google.)  I have an aspx page, with a GridView and each record has a button.  What I need to do is execute a bit of Javascript on each record that requests a bit of data fr...
I'm trying to call a WebMethod (GetData()) for a control in a web page using javascript.   <script type="text/javascript">     $(document).ready(function () {         //this selector needs fixed         $('<%= Control1.Client...
I made a webmethod that I'm trying to call from javascript, but it doesn't seem to be firing. I'm grabbing the selected index value from a listbox inside of a usercontrol and passing it to my webmethod to delete the selected user. I'v...
Suppose I write the following C# code to define a web method:  public class Thing {     public string X {get;set}     public string Y {get;set} }  [WebMethod] public static void myFunction(Thing thing) { }   I've discovered that I can invoke the...
I have what should be a relatively simple task that's frankly got me stumped. I've researched it until my brain is fried, and now I'm punting, and asking you guys for help.   Here's the scenario:   I have an ASPX page (Q2.aspx) that i...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.