I'm trying to implement a simple rollover tooltip for images on a page where when you roll over an image, you get a little tooltip window and have the contents loaded from a database via AJAX.
I can hack this together quickly but I wanted an elegant way of doing this without using any inline JS.
So my question is: If I capture the rol...
I am trying to create a commenting system whereby admins are able to moderate comments and users are able to post comments all in the one page load. I have all the backend knowledge on how to delete the comments, but I really have to know how the new comments could be loaded from the database and shown on the current page.
Edit: More sp...
I want the user to post an image to the server and load it back into the page when its ready, all this without leaving the page. What is the best way to do this?
...
Whenever I attempt to set text on the WaterMark Extender (which is on a control) dynamically I get an error saying the that TextBoxWatermarkExtendor missing required watermarktext property value for textboxWatermarkExtender1. The problem is I ONLY get this error some of the time on some computers. It seems to be a loading issue and not b...
I am building a page that may receive LARGE amounts of html from an ajax call, which it than insert into the page.
Sometimes, instead of the html i am expecting, i will get an http 401 error.
Ideally i want to have the error handler fire first, so i can set an error flag, display a message, and NOT insert the html that comes in.
The p...
asp.net 2.0 / jQuery / AJAX
<script type="text/javascript">
//updated to show proper method signature
var prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_endRequest(hideMessage);
function hideMessage(sender, args)
{
var ctl = args.get_postBackElement();
//check if ctl is the disired control
//hide user notifi...
I have a simple list of records in an HTML table with a delete link for each row. The delete link shoots off an AJAX post request to a fixed url that looks like: "/delete/record/5"
The AJAX request is created using jquery's .ajax() call with a POST message when running on a server that uses https. This call fails in Firefox 3 on OSX/W...
I am trying to make an update function for a webcam. What it does so far is make an ajax call and serve the Url of the image. I have some problem binding the result (after the image is loaded) to the dom element (ccam).
function update() {
$('#loading').show('fast');
$.ajax({
type: 'POST',
url: 'cam.php',
data: 'img...
Hi, i am trying to create a Ajax live search for my website. I currently can query the database for titles and display them under my search (See Fig 1.0) however i need to make them selectable so that when you do select them, it will set the input value to that title, very much like on wikipdia search Wikipedia Search. The wikipedia exam...
In JavaScript, xmlHttpRequest.responseXML() returns a DOM Document object. The DOM Document object is created from an XML-structured HTTP response body.
At what point during the life of an xmlHttpRequest object is the XML string parsed into the DOM Document?
I can imagine it may occur in one of two places.
When responseXML() is calle...
Hi, I have created a script which checks if an email is valid. I have another function which checks if a username is taken. When checking both textboxes I get 'error on page' if these are checked on there own it works fine.
Below is my code
<script type="text/javascript">
function AjaxFunction()
{
var httpxml;
try
{
// Firefox, Opera 8...
I am trying to load an XML file using Javascript and I have yet to find a good function that works in IE, Firefox, and Safari. The load function I am currently using is basically the one straight out of the w3schools tutorials:
http://www.w3schools.com/XML/tryit.asp?filename=tryxml_dom_createelement
The exact code looks like:
if (win...
I just started using jQuery 1.3.2 on one of my sites - mostly DOM stuff but there's a little bit of ajax. My log records show consistent 404's coming from the folder where I keep the jQuery file, and the 'pages' triggering the error turn out to be snippets of the jQuery file:
){F.html(E?o(
]||!o.suppo
rt.htmlSerialize&&[1,
I've scour...
I never worked with ajax.
I need to know if it is possible to use ajax to run a query on the db (sql server 2005).
My target is to run a query with refreshing the page.
Have you got any ideas?
...
Hey, I was looking through W3's tutorial on AJAX and I decided to make a javascript function that would populate a form field based on the response of a page. I took all their functions and tried to create the below one.
Can anyone see why it wont work?
function populateForm(myForm,formField,PageFrom,infoToSend)
{
var xmlHttp;
try
{
...
hi i am doing distributed computing environment........For the applications need to get distributed to different clients connected to the server in the network,i prefered to collect the client's system properties like free memory available in the client's system,so that i could distribute d application according to that efficiently.........
hi i need to validate the next page before printing it ...
what i did is i used i frame in the first page and called the page i needed to print
but it fired the query in the first page which should have been fire in the second page after the submission or click of the button ...
so i need to fire the php function after the button click...
I need a solution for the page refresh and the back button when using AJAX.
I'm using simple javascript for the AJAX implementation.
If anybody could send a code snippet I would be very grateful.
...
hi,
i called an iframe using ajax onto the current page and tried to print the page but is printing blank page can somebody help me with this
what i did was: current page:
<input type="button" onclick=verifyControl('1001') >
<div id='pa_print'></div>
js file function:
function verifyControl(rNo) {
xmlHttp=GetXmlHttpObject();
...
Again related with my weekend project, I'm trying to learn a bit more of web-development. So I'm putting in the list of features i want to implement, some stuff i absolutely have no idea how to do.
I've been reading tutorials on how to use ajax, but i can't find a simple one, that i can copy-paste (with one or two changes) to see it wor...