hi all, first im sorry about my poor english..
ok, i have 3 page with different concept/layout/animation
im use prototype & scriptaculous
i have this in my navigation:
<ul>
<li><a href="#page1" id="page1" onClick="showPage(page1);">PAGE1</a></li>
<li><a href="#page2" id="page2" onClick="showPage('page2');">PAGE2</a></li>
</ul>
and ...
Alright I'm going to create a fairly complex form to post via AJAX a lot of different types of information PHP page which will then parse the data and CURL the various datatypes into the correct tables in another database.
Usually I just send a HUGE POST request and then parse the information in the PHP page, making multiple CURL reques...
I recently got a situation where I need to set a bit in a database from 1 to 0 on web page on close event and I found there is no such event but an unload event so I thought I can generate an AJAX call from it.
Now, when some one tries to close the browser, it should be closed instantly because of UE and if I will have AJAX request that...
function new_review(){
$.post('restaurant_profile/get_dg_new_restaurant_review', {}, function callback(response) {
alert(response);
}
}
Hi I have a function that does an jQuery ajax post to a controller function. The function outputs a simple string using the PHP echo function.
The function works fine if I don't ha...
I'm starting to architect a quite complex web application. The implementation is probably going to be done in PHP, though if there are impressive reasons to choose a different environment I might be convinced.
I've looked at tools like Symfony and CakePHP. The problem is that it feels like they're relatively low level for a modern Web 2...
<form class="follow-form" method="post" action="listen.php">
<input name="followID" value="123456" type="hidden">
<button type="submit" value="Actions" class="btn follow" title="123456">
<i></i><span>follow</span>
</button>
</form>
javascript file:
jQuery(function ($) {
/* fetch elements and stop form eve...
Am I missing something? I'm trying to do a simple ajax call using jquery to a web service on my site and I get a 500 error every time when I make the call from the master page. Has no one ever made an ajax call from a master page or am I just crazy and extremely deprived of sleep?
Example:
MasterPage.master
<script type="text/javasc...
Hey all,
Designing a fairly complicated site with a lot of ajax running on a single page. I have reached the point where some user's need to have specific permission to do things and some need to be stopped from the action. I have set up user roles in my database and all is working fine, but I wonder if there is an easier/safer method f...
This is the dynamic example jsFiddle dynamic DEMO CLICK ME
and This is static example jsFiddle static DEMO CLICK ME
When I load markup dynamically into div it is not working in IE7.
But if it is a static it works fine.
Yesterday I was unable to s...
I'm adding an ajax form through an ajax call from a similar form. The newly added form doesn't work. I'm using rails 3 and jquery. Here is my code:
update.js.erb: /* adds a form that can be used to create a new Xyz. Submitting the added form should use the create action which executes create.js.erb */
$("#mytable tr:last").after("<%= e...
i have a login box...
when the user starts typing.. i want to check whether the LOGIN NAME entered exists in the database or not...
if the login name is exist i am going to set the login button active... if it doesnot exist i am going to set the login button deactive...
offcourse i am going to need AJAX to perform my mySQL via PHP t...
hey, if i try this code
$(document).ready(function(){
$.ajax({
url: "http://gdata.youtube.com/feeds/api/users/zdf/playlists?v=2",
type: "GET",
success: function(msg){
console.log(msg);
}
});
});
i get this error "XMLHttpRequest cannot load http://gdata.youtube.com/feeds/api/users/zdf...
Hello, I have a _form.html.erb partial that comes from the standard rails 3 template for the model project.
#view:
<div id="content">
<%= link_to 'Edit', edit_project_path(@project), :remote => :true %>
</div>
#projects controllers
def edit
@project = Project.find(params[:id])
respond_to do |f...
how can i restrict user so that user cannot select date 45 days older than current date ..........please help me out any one...
...
I've code that, depending on the selected item in a drop-down, loads some further controls (separate content for index==0 vs. index >= 1). The initial select's selected item is pre-set at the server end. I've and issue with reload/cache, where the user alters but doesn't submit a form and then click reload. Originally, I was loading the ...
The website I am developing uses jQuery UI tabs to load content via AJAX (in this case, each tab is made up of a partial page). This works well, and I am happy with those results. However, one problem I have repeatedly come across is that when I include jQuery within my master.js file (which I use for site-wide Javascript), it DOES NOT a...
I'm doing project where i'm going to use Jquery and ajax. I'm starting to learn this technology,i hv one doubt abt where does this jquery and ajax are used, are they used for same purpose. can anybody tell me situtation where jquery or ajax can be used both are for same purpose or different ?
and any best book to start with jquery and a...
I want to render 6 blocks on a page asynchronously using richfaces a4j support.
To accomplish this I have defined 6 a4j:region components and an a4j:commandLink for manual refreshing of the components.
Here is the relevant code:
<ui:define name="body">
<h:form id="dashboardform">
<div class="table_container" style="width:99%">...
I have a script which is posting some form data to a Quickbase and I'm getting what the browser interprets as JavaScript error in Quickbase's XML response. Right now, the data is properly being recorded in Quickbase but I can't seem to suppress the parsing error. Additionally, I have no access to server-side languages - just client-side ...
Hi,
I am trying to build a php/mysql website. But in the past, i didn't like the way php handled insert, update, delete, showing of entries. Ever since I have seen AJAX implemented beautifully on so many sites, i want to be able to do the same?
I am familiar with how to use PHP to accomplish:
DB Insert, Edit, Delete, and show. But ...