ajax

RadAjaxManager Destroys My Design And Move My Controls (In Preview Mode) that are Inside It

hi my dear friends : why radajax manager do this to me ? plz see these pictures beloaw... http://www.2shared.com/file/12426877/11c38fb4/WithOut_RadAjaxManager.html http://www.2shared.com/file/12426799/63a4c800/With_RadAjaxManager.html this problem exists about every control inside radajaxmanager i mean radajaxmanager displaces my c...

Data not transfred from form to mysql table (updating of data is not happening)

Hi all and thanks in advance to all for this I tired and was unable to find the answer i am looking for an answer. my problem is that i am unable to update the values enterd in the form. I have attached all the files i'm using MYSQL database to fetch data. what happens is that i'm able to add and delete records from form using ajax an...

How to stop/override a Jquery TimeOut function?

Hi, I have a small jquery snippet that displays notification message at the top of the screen in response to user actions on a page. The notification is often displayed after Ajax actions with dynamic content inside it. For example: $("#mini-txt").html("Thank you!"); $("#mini").fadeIn("fast"); setTimeout(function() {$("#mini").animate...

PHP: Does $_SERVER['HTTP_X_REQUESTED_WITH'] exist or not?

All over the Internet, included even here at StackOverlow, people state that a good way to check if a request is AJAX or not is to do the following: if (strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest' ) {...} However, I don't see $_SERVER['HTTP_X_REQUESTED_WITH'] in the official PHP documentation And when I try to d...

What is the preferred way of loading browser-specific CSS files?

What is the best way to handle browser-specific CSS file loading? Assume you are running in the context of a proper MVC framework. Here are some options, you are free to discuss the pros and cons of these options as well as any other methods you know of, and prefer: Server-side solution: use the controller (e.g. servlet) to analyze th...

key-words highlight in <textarea> (again)

Wait, I know! I know that this "syntax highlight in textarea"-question was raised like a million times on stackoverflow! But, please, listen. offtopic: I'm not a web-developer, and technically I'm not a programmer at all. I study mechatronics and deal mostly with control-engineering and digital-hardware. And I'm so pissed off that whene...

using ajax to post comments in cakephp results in 404 error, but no errors locally?

Using an ajax helper created for use with Jquery I've created a form that posts comments to "/comments/add", and this works as expected on my local wamp server but not on my production server. On my production server I get a '404 error, cannot find /comments/add'. I've spent quite a bit of time searching for a resolution with no luck so...

How do you handle ajax requests when user is not authenticated?

How do you handle ajax requests when user is not authenticated? Someone enters the page, leaves room for an hour, returns, adds comment on the page that goes throuh ajax using jQuery ($.post). Since he is not authenticated, method return RedirectToRoute result (redirects to login page). What do you do with it? How do you handle it on c...

jQuery syntax for changing the value of a table cell

I have a table where every row has a unique id. The last table cell has class="status" where I want to show the user the result of their action. In my $.ajax call, I have: ,success: function(result){ $('tr#'+result).td('.status').text('Updated'); }; result is the id of the row that was updated. It's just ...

LinkButton not firing OnClick event in Accordion

I have not been able to get the break point I have on LinkButtonDelete_Click to fire. Is there a trick to dealing with buttons inside of AJAX Accordions? Thank you. <cc1:Accordion ID="Accordion1" runat="server" DataSourceID="ObjectDataSource1" SelectedIndex="-1" RequireOpenedPane="false"> <HeaderTemplate> <asp:Label ID...

jQuery Fade Out an <ul> and Fade In Info From DB

On my portfolio page I have this setup: <div id="portfolio"> <ul id="sites"> <li> <h3><a href="#">MotorSomethin</a></h3> <img src="http://dummyimage.com/265x100/000/fff" /> <p> We tried going for a very dark but flashy look for this website. Hence the reason we used fla...

How to send web browser a loading page, then some time later a results page

I've wasted at least a half day of my company's time searching the Internet for an answer and I'm getting wrapped around the axle here. I can't figure out the difference between all the different technology choices (long polling, ajax streaming, comet, XMPP, etc.) and I can't get a simple hello world example working on my PC. I am runn...

Pass information to php file from javascript while restricting user from doing it their self?

I am making a game where the battle system uses javascript to battle. At the end of the battle you either win or lose. If the user wins, I need to update the mysql database with the XP they earned. The best way I can think of doing this is to have the javascript run an ajax function when the user wins that POSTs something like addxp.p...

Is it OK , from a product perspective, to write an iPhone app completely in WebView?

This just saves time. Since I already have a web applciation. I can just stick it inside a webview. The question is: Does it turn off many users? How many users will be disgusted that the entire iPhone app is written in WebView? ...

I am not able to update form data to MySQL using PHP and jQuery

What happens is that I'm able to add and delete records from form using jQuery and PHP scripts to MYSQL database, but I am not able to update data which was retrieved from the database. The file structure is as follows: index.php is a file with jQuery functions where it displays form for adding new data to MYSQL using save.php file and...

Help with jquery ajax posting and server-side validation messages

Anyone know of a working sample of jquery axax post with validation messages being returned from the server that highlight the relevant form fields? Should the form be a partial view? Is it possible to make use of modelstate? Cheers ...

Is it possible to update only one element in page with jQuery load without creating seperate GET method on server side for this?

I have to update one element on page with Ajax, do I have to make changes to server side, or is it possible to load whole page with jquery and then update only for example one element? ...

Is this a valid url parameter in jquery.ajax()?

Is this a valid url parameter in jquery.ajax(), <script type="text/javascript"> $(document).ready(function() { getRecordspage(); }); function getRecordspage() { $.ajax({ type: "POST", url: "http://localhost/codeigniter_cup_myth/index.php/adminController/mainAccount", data: "", contentType:...

Things to take care while sending the username and password using Ajax request ?

Normally we have login page with username, password filed and signin button. Using the normal form based approach we send the data on and page gets post back. Now i would like to change this using the Ajax. As Ajax too using the normal HTTP so i guess nothing in different from the existing workflow barring postback right ? Now my quest...

Website. AJAX and FIREFOX problems. I dont think Firefox likes ajax..?

Working on an AJAX website (HTML,CSS,JavaScript, AJAX, PHP, MySQL). I have multiple javascript functions which take rows from mysql, wrap them in html tags, and embed them in the HTML (the usual usage of AJAX). THE PROBLEM: Everything is working perfect, except when I run the site with Firefox (for once its not InternetExplorer causin...