I am having trouble passing data retrieved from a $.post() function to use in other places in my code. I want to save the data as a variable and use it outside of the post() function. This is my code:
var last_update = function() {
$.post('/--/feed',
{func:'latest', who:$.defaults.login},
function($j){
_j = JSON.parse($j); ...
I want to submit form and show message about result.
update_records initializes alert_message to error message.
If success I expect that its value is changed.
Than update_records outputs message.
But the function always alerts "Error submitting form".
What is wrong with this?
The code follows:
function update_records(form_name) {
...
Hi,
I am relatively new to jquery and would like to know why the below code wouldn't work. I am trying to access the content from a file residing on my site and not outside. Is it because I have the jquery lib loading from google and not my site? The error message that I get in IE browser is "Access Denied". I am confused why the access...
I am getting logged out when I send request by ajax in a login session. I check headers sent by FireBug and show there was not cookie
...
Hello,
I have a link that calls the ajax to load content, and after the content is loaded, my jquery function doesn't work anymore
Here is my HTML
<a href="#" onclick="javascript:makeRequest('content.html','');">Load Content</a>
<span id="result">
<table id="myTable" valign="top" class="tablesorter">
<thead>
<...
Hello,
I have this...portion of code in Javascript:
var description = document.createElement('P');
description.className='rssBoxDescription';
description.innerHTML = itemTokens[2];
div.appendChild(description);
I see that description gets the HTML value and displays as plain HTML coding not as HTML processing it shouldbe ... how to ...
I have a php page named import.php. while executing this file a lot of database operation is doing.So i need to show the progress to the user, by using a progres bar.How is it possible using any of these php ajax, javascript, jquery,css, flash... methods
...
Hi,
Is there a way to check if there's ajax request in progress?
Something like:
if ( $.ajax.inProgress ){ do this; } else { do that; }
...
I have followed this tutorial, and made everything like the tutorial says... When I click submit it says "this wont actually send out emails".
Here is the tutorial
So my Q is this, would it be too hard to "actually send out emails" with this?
How can I implement it into this?
Thanks
PS: No JQuery please...
...
We are using asp.net ajax 1.1 (and can't upgrade to latest for internal known reasons). We are having a page where we call ScriptService method through ASP.Net ajax and oncallback of result, we bind that result to Html controls on the page. During testing we observed that this whole process is taking too much time. When we profiled using...
<%= Ajax.ActionLink("DrillDown", "EventOverzichtAjax", new { GroepID = Model.GroepID.ToString(),
groepType = Model.GroepType.ToString(),
manager = Model.isManager },
...
Hi All,
I am using asp.net 3.5 and C#.
I am looking for a chat engine for my website. Like a flash one as I don't want my user to register before start chatting. The one I have implemented it is without flash and I am looking for other option which obiviously be more presentable.
Please let me know if their is any free chat engine I c...
Hello,
I am having hell of a time trying to figure this one out. Maybe someone can help me here or point me in the right direction.
I have a jQuery UI dialog that pops up when user clicks on an image. The dialog displays a form with 2 drop down windows. "dept" and "group". Group drop down is disabled, until something is selected in the...
I feel like each time I start a new Javascript-heavy application, I begin to bumble around more and more as additional client-side code is written. The code structure of a Rails app is pretty well dictated by the framework, but developers usually invent their own structure for their Javascript and AJAX interactions.
I'm looking for web ...
I've written a rails module that generates some javascript for a google map. As the user makes changes on the webpage, I use observe_field to call back to the server to regenerate the map's javascript (without updating the whole page). I'm having trouble finding a good way to insert the new javascript into the page. I've tried
<div id=...
I have some update panels on my page that do some asyncpostbacks to keep some dropdownlists correctly populated. My problem is that on my page i have an HTML input that is handling some file uploads. With the AJAX on the page with asyncpostbacks, and while i step through my code behind, the files arent being uploaded. Using a postbacktri...
Hi All,
I am trying to create a form that is made up of controls with values that represent an entity with multiple child entities.
The form will represent a product with multiple properties where the user will then be able to create options with multiple properties which in turn be able to create multiple option-items with multiple pr...
I cant seem to find a way to make django-dajaxice have its callback inside same scoped object from which made the initial call.
MyViewport = Ext.extend(MyViewportUi, {
initComponent: function() {
MyViewport.superclass.initComponent.call(this);
},
LoadRecordsCallback: function(data){
if(data!='DAJAXICE_EXCEPT...
I have put a form on a web page where the user can send us data. Unfortunately, the webmaster does get a lot of spam through this form and the valid submissions gets buried.
I have used captcha to bypass this problem. But I think that everyone would agree that captcha is a big annoyance to users.
I switched to another solution: now the...
I all.
I have the following form used to temporarily upload a photo on a j2ee server and then crop it with imageAreaSelect plugin :
<form name="formAvatarName" id="formAvatar" method="post"
action="../admin/admin-avatar-upload"
enctype="multipart/form-data">
<label>Upload a Picture of Yourself</label>
<input type="file" name="upload" ...