I want to disable Javascript once a page has already loaded.
Why?
Because I want to test how the behavior of something like the following 'degrades' when javascript isn't available, but i dont want the hastle of going to the browser's top level javscript enable/disable feature. In addition I specifically want to disable it after the pa...
I'm creating a simple composite control that has AJAX functionality. When trying to implement a MaskedEditValidator, the DisplayMoney property doesn't work. The MaskedEdit renders, without the dollar sign attached. Any ideas? Here's my code:
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
priceTextbox.ID = this.ID ...
I was reading an article that shows how bad CodePlex uses UpdatePanels and how nice is StackOverflow on this matter when, for example, a user upvotes an answer/question.
I wonder if someone can point a tutorial on how to do such action.
I know some points:
Create a Web Service that gets the action value and ouputs a JSON string
Build...
I'm building a site using ASP.NET MVC with lots of jQuery and AJAX stuff, and I'd like the main menu to work with AJAX as more or less the rest of the site does.
In an ideal scenario, I would like my main menu to
1) load the main content with AJAX if the user has activated javascript
2) change the url in the address bar (to enable link...
I'd like to be able to automatically add new forms to a Django formset with an ajax function. I.e., the user clicks an "add" button and some javascript will add a new form (which is part of the formset) to the page.
Thanks for the help in advance. :-)
...
Hi friends,
i am creating mail page for sending mails. I need to attach some file before sending. How could i do this using AJAX. Initially i need to store those files in server and then i have to send the mail. These actions are done with in a single send button.
Please help me.
...
Dear all
I am using Mootools 1.11 and Jquery 1.2,
ajax function not work properly for following code
jQuery(document).ready(function($) {
confirm("Hello");
function confirm(message){
$.ajax({
url: 'ajax.php',
....
}); ...
Hello,
I am having trouble with modifying a php application to have pagination. My error seems to be with my logic, and I am not clear exactly what I am doing incorrectly. I have had before, but am not currently getting errors that mysql_num_rows() not valid result resource
and that invalid arguments were supplied to foreach. I think t...
Hello, I have the following code, for which I get the error:
Warning: mysqli_stmt::bind_result() [mysqli-stmt.bind-result]: Number of bind variables doesn't match number of fields in prepared statement in file.
If this is only a warning, shouldn't the code still work? I want to do a select * and display all the data except one field, w...
Hi
I have coded some JavaScript to perform an ajax call in an asp.net application. This triggers a method that calls a URL, sending some parameters in the POST.
The receiving page processes the data and updates our database.
We will be providing this code to customers to allow them to send us the data we need in their checkout process...
Hi,
I am unable to implement PageMethods feature of the scriptmanager in a usercontrol, is a way in which this can be done?
...
So I have a UserControl with some cascading DropDownLists on it. Selecting from list 1 enables list 2, which in turn enables list 3. Once you've made a selection in all three lists, you can move to the next page.
The DropDownLists are all inside an UpdatePanel. But the "Next Page" button is outside the UpdatePanel. That button shoul...
I want to use Thickbox (or one of the varieties) on our site to display information messages returned from the server. Examples include warning messages returned from biz logic, etc.
The first place to need this functionality will be the navigation buttons on an asp:wizard control. When the user tries to move forward, we validate thei...
Trying to hit two elements with one load() and not successful in what I am trying. This is what I have now to refresh a section on the page and it works fine.
$('#refreshme_'+request).load("http://www.example.com/add_list/");
I tried this
$('#refreshme_'+request, .xPlanner).load("http://www.example.com/add_list/");
and that did n...
I have a form that makes an Ajax POST request to insert a widget into my database. In the form, I have a select box where you can select from the widgets. After the db insert is made, I must update the select box. I actually just replace the entire form for now.
Because the select box has the widgets, I must have a copy of the obje...
Whats the use of HTTP GET method if POST can handle many of the issues of GET?
...
Hello,
I have the following snippet of code from my application, which should work. However, i get the error that: Warning: mysqli_stmt::bind_result() [mysqli-stmt.bind-result]: Number of bind variables doesn't match number of fields in prepared statement in file.
I am using the exact number of columns to bind as to select, and using l...
I'm in the process of building a back-end admin panel for a site and I'm having an issue with the jQuery and AJAX code is use to build the page.
On load, I bind actions to certain table fields allowing users to add or delete a colour or size. When they submit the form, I empty the table and use AJAX to generate a new one, then put the n...
I am maintaining a public website (no authorization required) that uses web services over https to perform various operations. Most of the calls to the web services are invoked from javascript.
What has recently occurred to me is that a malicious hacker could, if he/she chose to, call the webservices directly in an attempt to play havo...
I have a very dynamic UI that provides the end user 2 detail views (each one a step deeper than the previous). When i get to the bottom of this chain I would like the ability to "preview" a pdf file ... but the only luck I have thus far is using window.open(url) and this pops up an additional browser window in IE6/7 (not desired if at a...