Hello,
I am trying to get a popup after saving some data into the database. When using the ConfirmButtonExtender and ModalPopupextender, it asks for TargetControlID. So i have given TargetcontrolID as Submit button. So whenever the submit button is clicked, it shows the popup first saying "your password is successfully saved". After you...
Can something like JSONP be used to securely transmit credit card data?
...
I have a page that makes the same JSONP request multiple times in a single page load. In most browsers this works fine, but Safari caches the response locally until such time as the page is reloaded. Even when I send back a Cache-Control: no-cache header on the response.
consider the following example code:
var plcbCnt = 0;
var plcb ...
Hello,
I am looking to build a tooltip that allows the user to click links within that tooltip to allow them to navigate to various sections of the site. My problem is that the tooltip disappears when I leave the a with my mouse? what I want is for the tool tip to disappear if I change to a new a or click close on the tooltip, my jquer...
My code:
protected void Button1_Click(object sender, EventArgs e)
{
CustomControl myControl = new CustomControl();
UpdatePanel1.ContentTemplateContainer.Controls.Add(myControl);
Button btn = new Button();
UpdatePanel1.ContentTemplateContainer.Controls.Add(btn);
}
After click new button app...
Is it possible in rails using a filter that appears, after the view (after_filter), to collect the data that has appeared inside of the javascript_include_tag and stylesheet_link_tag methods?
for example:
---rails view starts
javascript_include_tag 'file.js'
---rails view is complete and after_filter runs
@js_files = get_included_java...
I have been trying without any luck for a few weeks to make this happen.
Right now I can click on add URL to add an image URL. What I want to do is have an onlick from images from my page and have them insert into the editor. Im really lost on this, any ideas? Because I am so lost on this and need it to work I'm willing to pay for help...
Hi, I have a script that is running every 5 seconds, as a polling ajax http request.
I want to send an incrementing amount through it, on each request (1,2,3,4,5,6 etc...)
I have this so far, but the code just sends '1' through all the time.
// set the value to 1
var state = {
recordId: 1
};
$.ajaxPoll({
url: "map-s...
Im trying to implement a comment system that functions much like the one in place on reddit.com. i.e Node content on top, then a quick reply box, then using the ajax_comments module, show a comment form when a user clicks reply on an actual comment.
The issue I'm having is that the ajax_comments module seems to just shift the one commen...
I found this ajax file upload script here http://www.phpletter.com/Demo/AjaxFileUpload-Demo/
Which is supposed to add ajax functionality to my file upload form
<div id="dialog" title="Upload Image">
<%
Html.BeginForm("Upload", "BugTracker", FormMethod.Post,new { id="uploadForm", enctype = "multipart/form-data"})...
I need a playlist that's editable from multiple computers. It can be <table> or <ol> but you must be able to drag rows around. This gets sent to the server, which pushes it down to everybody, so I need updates without reloading the page.
I never worked with JavaScript before, but it all seems doable with http://jqueryui.com. Alternative...
I am stuck; I did a search and I can't find a pointer on how to get this project to work. I have a form on my index.html.erb as:
<html> <head>
<title>Ajax List Demo</title> <h1>Listing posts</h1>
<%= javascript_include_tag "prototype" %> </head> <body>
<h3>Add to list using Ajax</h3>
<% form_tag ( :remote=>tru...
Hello
I have a popup that is shown after successfully saving in the database. It shows "Password is successfully saved" and also has a "Ok" button. I want the popup to be closed when Ok is clicked and should be redirected to login page. With my code here, it saves, shows the popup, when OK is clicked,it stays on the same page. Please he...
I have two drop down menus, one of which I am trying to replace with radio buttons using jquery. The second box is updated via AJAX with new options any time the user makes a selection in the first drop down. I have successfully generated radio buttons that change the values for the first drop down but when the user updates the first dro...
I am trying to populate city, country and statelist using ajax, and servlets.
Now I know how to get the XMLhttpRequest object.
there is a standard mechanism to do that
and depending on the cross browser compatibility, you do get a ActiveX or a xml object..
Then you send a request to the actionservlet, using xmlhttprequest.open() and you...
I'm trying to setup an ajax-based website that loads a fragment of a webpage when a specific combination of GET variables and HTTP Headers are given.
GET /normal/html/page?ajax=true
X-ajax: true
What I've setup in my controller is:
before_filter do |controller|
if request_by_ajax?
ApplicationController.layout false
end
end
...
Hi guys, i hope you can cast some light on my problem. I need to do an AJAX / PHP / MYSQL application to display posts and stuff on the page i'm writing.
I only discovered how to do some simple stuff in PHP after taking some mushrooms but that was years ago and now i don't have mushrooms and i'm just stuck!
So here's the problem:
i t...
I am using JQuery ajax in Spring MVC 3. When making the following call, I am running into a dilemma with myurl. On the local development machine, myurl would be localhost:8080/myapp/my_json_controller. On the production, my url would be domain/my_json_controller. I tried using relative url, /my_json_controller, and it would not work ...
How can I assign a variable to content attr of dojo.xhrPost dynamically ? Below is the code and some explanation for my scenario:
Code with hard coded values for content
dojo.xhrPost({
url: /esturl/,
handleAs : "text",
content : {INST1 : '{"0001" : "aa"}',
INST2 : '{"0002" : "bb"}',
INST3 : '{"0003" : "cc"}'}
l...
I have an xml string that wanted to be sent to server:
<script type="text/javascript">
$(document).ready(function() {
// put all your jQuery goodness in here.
$('#button').click(function() {
$.post('http://localhost/a.bc', { cmd:"<cmd cmd_name='login_user'><...