Howdie stackoverflow people!
So I've been doing some digging regarding these NoSQL databases, MongoDB, CouchDB etc. Though I am still not sure about real time-ish stuff therefore I thought i'd ask around to see if someone have any practical experience.
Let's think about web stuff, let's say we've got a very dynamic super ajaxified weba...
Hello guys,
my code is a bit messy so I'll try to explain to you in words:
I have this index.php page that shows a random file from my files table in my database. People have the opportunity to rate these files by clicking on notes that open "vote.php" through a small AJAX pop-up.
Now here's the problem. On index.php I pull the ID fro...
I have a 2 part form.
The 1st form is submitted via $.post and (if all goes right), is replaced by a dynamically generated form from php. The idea behind this being that the 1st form creates an entry and the number of related images for said item. A new form is generated to upload said images.
My problem is that my newly generated fo...
How can I view the last GET http request in JavaScript? Basically what I am after is what I can see my firebug console. When XMLHttpRequests are showing in console I see a line that looks something like:
GET http://www.domain.com/php/file.php?q0&c=1 200 OK 163ms
How do I view that URL in JavaScript?
EDIT: Just to be clear...
Hello everyone.
I'm using CKEditor. I am saving the form values with ajax using page methods.
But the content of CKEditor value cannot be saving into the table.
I dont postback the page.
What can i do for that?
...
I have a gallery page that change the category based on the $_POST("cat"), how do I use the option dropdown list to reload the page (or only the gallery) to change the gallery view accordingly.
Here is the option list:
<form>
<select>
<option value="">Pick A Category:</option>
<option value="1">Landscape</op...
Hello,
If i call a php script using ajax im unable to access session variables set by another php script though both scripts are on the same domain, and i have session_start() in both the scripts.
If however the php script is called directly it is able to access session variables.
Why does this happen ?. Any way to fix the problem ?
Pl...
I've got a web application that loads some content from an external source to the dom via an ajax call, one of the things that comes back is a set of images (different sizes and aspect ratios) to be displayed in an profile photo section. I'd like for each of the images to be resized to fit within a 64px x 64px area and I'd like to mainta...
I have this code :
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script>
$(function() {
$(".button").click(function() {
var dataString = "message= "+...
When I add submitToRemote to my gsp I Firebug gives me an "Ajax not found" error. I have the jquery library loaded. How do I use submitToRemote with JQuery?
<g:javascript library="jquery-1.4.2.min"/>
<g:javascript library="jquery-ui-1.8.4.custom.min"/>
.
.
.
<g:submitToRemote controller="DefaultSearchController" action="search...
I am building a website using php+mysql. I have a registration page and its already implemented in php. Now i would like to make the page more dynamic and interactive using ajax.That is i would like to have a feature in which when user moves to next tab it should display message in previous field saying right/wrong depending on user ente...
I started with a "new ASP.NET MVC 2 Web Application" template and created a few controllers. I want the links on my navigation menu (located in Site.Master) to load my 'content' div (which has all of the controller output) via AJAX and not perform an entire page refresh.
I return PartialView() from TestController Index() method but this...
Hi all,
I am developing an extension from Chrome and I need to do some changes to the page code after it is loaded. but the problem is window.onload event isn't useful nowadays where almost any website is using AJAX. You can't assume that all content is already loaded because window.onload is fired before all AJAX request has done loadin...
Hello I call static PageMethod from JS.
PageMethod send some information to emails.
When I call it, page reloads.
How should i prevent reloading page during PageMethod and do it at ajax style?
Thanks.
...
dear all..
i'm new to ajax timer, since someone tell me to use it for make my page can auto refresh.
can you tell how to use it for my jquery page?
...
Even just a simple <?php readfile($_GET['url']) ?> results in a not acceptable error.
Any thoughts?
...
I have an application that uses a mobile ad provider; the way ad provider works is that I make a request on the server side, the provider returns me the mark-up and I include that on my site.
In order to make the load page faster (which is a requirement that I don't control), I have an AJAX call to my server which then makes the call to...
Hi guys, I was playing around with AJAX.
If I do
echo "helllo"
in the PHP file it works fine.
However, if I do something like
echo "<script language=Javascript> alert('hi');</script>";
in the PHP file, the alert() does not come up.
Anyone know if I'm doing anything wrong?
example:
in my html file i've got this
<div id='somet...
The code below works and is good but I am going to place it into a DRUPAL page and I would like it to refresh the "DIV" instead of the whole page. Can someone help? Thanks!
document.write("<div class='box1'><center><h1>Telling Time Worksheets</h1></center><div class='box_number_holder'>")
var nums = [01,02,03,04,05,06,07,08,...
<script type="text/javascript">
var t;
function startTimer(){
t=setTimeout("document.location='../login/logout.php'", 50000);
}
function stopTimer(){
clearTimeout(t);
}
</script>
This is my script for auto logout,
i want to show the countdown timer, How to create and show the timer,
Also i want to make alive when the user hit the...