Hi, I'm trying create a box in my Django app that displays text (and possibly images) from the server as certain processes are completed server side. I was hoping to use a plugin that used Dajax / Jquery but I'm unable to find one. Is there a solution out there that is simple? Thanks.
...
Hi,
Is there an easy way to get access to the objects/properties of the markers and infowindows created by the DirectionsRenderer? (i.e. the "A" and "B" endpoints of the route)
I'm looking to replace the "A" & "B" markers' infowindows with one that I've created (containing dynamic content) from another "non-route" marker.
I've tried ...
Basically I have 3 drop down lists for security questions. I have java script setup that will spring an alert when the box is changed. I need to know how to add/remove or show/hide an option. like if the first box selected option 1....remove option one from the other 2 drop downs as possible selections.
...
Hi,
I have an html page where I put in a text box an animal species.
So I would extract from wikipedia an image of it and load in a
How I can do it?
Thanks.
...
I understand that minifying tries to reduce file size by removing whitespace characters. Sometimes things end up on one line, but more often than not, there are multiple lines. I noticed that line breaks happen wherever spaces occur. Wouldn't it be better just to have it all on one line?
...
I cannot for the life of me figure out why Alternative is left recursive. It really throws a wrench into my parser.
Alternative ::
[empty]
Alternative Term
Here is a note in the semantics portion of the spec that is not exactly clear. Maybe the reasoning would be revealed once I understand this?
NOTE Consecutive Terms ...
I'm using jQuery.
This is my second post to make my old question more clear.
I have made an Ajax request using the jQuery $.ajax function to a PHP script and that PHP script returned this JSON object and when i tested with link text it says it's valid.
and i'm treating this JSON response with the success fonction
The php script is
$...
I'm trying to match a set of hashtags or words in a javascript string.
(#hashtag|word)
almost does it, except I'd like to consider word boundaries.
\b(#hashtag|word)\b
doesn't match the beginning word boundary, since of course '#' is not a word character.
ideally i'd like to have something like a '\b' anchor that matches hashtags...
The common way, I think, is making a periodic "ping" to the server, but I don't like how it looks too much like
"Is there anything new? - No"
"Is there anything new? - No"
"Is there anything new? - No"
"Is there anything new? - No"
"Is there anyt..."
I've seen another approach where client ask for news and server "retains" the request...
Javascript:
var req=xmlDoc.responseXML.selectSingleNode("//title");
alert(req.text);
as expected, returns the text of the first "title" node.
but this
var req=xmlDoc.responseXML.selectNodes("//title");
alert(req.text);
returns "undefined." The following:
var req=xmlDoc.responseXML.selectNodes("//title").length;
alert(req);
ret...
I have the simple form:
myForm = new Ext.form.FormPanel({
width:'100%',
frame:false,
items: [
new Ext.form.TextArea({
id:'notes',
name: 'notes',
hideLabel: true,
width:350,
height:200
})
],
buttons: [
{
text:"Save",
click: functio...
I'm fairly new to Photoshop (Still CS4) and I often get designs for websites where slicing them up takes a fairly decent amount of time.
Some sites have layers that are all going to be the same exact size, and they are stacked on top of each other (Slideshows, that type of thing).
I usually move these layers to a new document with the s...
All,
I am trying to get JQueryUI tooltip and Tablesorter plugin to work together. I am unable to display the JQueryUI tooltip when I hover on the names but the tooltip won't appear after I click the "Reset Sort Order" link.
How can I make sure the tooltip is displayed after I click the "Reset Sort Order" link. The tooltip should also b...
Currently I have an amazon store that I am maintaining. I haven't really used this type of CMS before and I browse to the Contact page where there is a contact widget. Standard contact form: name, email, subject, message with standard validation checks. However, the form action="#" and onsubmit="validate()"
I'm wondering if anyone has h...
Example real site http://stackoverflow.com/
URL Masking http://masking.com/stackoverflow
Question
How to switch the URL masking http://masking.com/stackoverflow to original URL http://stackoverflow.com/
Let me know how can be done in PHP or JavaScript
...
What if I request the URL http://www.google.com via AJAX, for example and in the on successfunction I just wanted to display the I'm feeling lucky button in some div?
For example
$.ajax({
url: 'www.google.com',
success: function(html) {
$('div').html(html);
}
});
this is for displaying the whole page, but I want o...
I'm building an API that will use JSON. The primary use for this API will be AJAX in a browser but it may also be used server-side by user's PHP scripts, etc.
There are 2 ways I can do this (I think):
Build the API so that it uses HTTP headers to set a session cookie and retrieve all data for maintaining state by using the COOKIE['ses...
I wrote a JavaScript script that swaps two selected img tag src values.
The point is to let the user rearrange a list of images.
For sending the new order to a PHP script, I have two ideas:
Have a button execute a JavaScript function that gathers the new order of images into an array of URLs. Then, rely on JavaScript to send the data...
Introduction:
Hello Everyone,
I have been looking for days for a way to extend the attached JavaScript code so that it will work as I need it to and have asked on various coding website but nobody seems to know the answer so in a last chance effort I have come here in the hopes that someone will be able to assist me.
About the script...
I have the following:
<EditItemTemplate>
<asp:Button ID="wrqst_need_ind_btn" runat="server" Text = "Create WR"
onClientClick="javascript:popUp('popup_createWR.aspx')"
CommandArgument='<%# Eval("dvc_nm") + "|" + Eval("data_orgtn_yr") %>'/>
</EditItemTemplate>
I want ...