Hi there,
I am creating a website for someone for free (as a favor) however I in return will have my link at the bottom, How can I make it so the website will not work correctly if the link is removed? Also can I double up on this and allow it so I can remotely change the link?
Obviously I would be using either javascript for php (pref...
I have a textarea field on my website and I'd like to use jQuery to trigger an event when a user types the hash tag. Similar to the trend of websites like Facebook and Twitter who allow you to query a database for friends as you type after you type a hash tag or use the '@' symbol.
Would anyone be able to provide a plugin or example of...
I have gotten a value, encoded like so:
%3Cp%3E%0AGlobal%20Business%20Intensive%20Course%20%u2013%
I noticed that one of the characters seems to be encoded in a different manner at the end, the %u2013. It appears to be some form of unicode character, but it is causing me to get URI malformed errors. is there a way to replace these wi...
Hello there good people of StackOverflow,
I recently needed to upload multiple images to CKeditor through an asp.net webform.
Found a sample program and adapted it for my use and everything was going fine until one day I was told that when uploading three images in a row, IE would crash when trying to call the asp.net webform.
However, ...
Can you help me to use JSLint with this editor?
I have put the JSLint script into the scripts/JScript folder. Now I should go to the scripts menu and recompile scripts. But I cannot find the script menu in pspad. I have installed the latest version.
Can you help?
...
How can i get the browser's height and width to php? Like a data transfer from javascript to php?
With using innerHeight and InnerWidth, i think.
(I just need to show user small picture if he has small screensize and big if big and without a data about screensize i cant do it)
I have like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML...
Once #theButton is clicked, an alert should be triggered. Why aren't any of the events being triggered using the following methods? Thanks in advance.
<html>
<head>
<script type="text/javascript" language="javascript">
var theButton = document.getElementById("theButton");
theButton.onclick = function(){aler...
What I'm looking to do is split data from string into an array.
Here's the general idea of the text format...
xxxxx denotes any mix of alpha-numeric-whitespace data.
xxxxx
1 xxxxxxxxxx
2 xxxxxxxxxx
xxxxxxxxx
xxxxxxxxx
xxxxxxxx
3 xxxxxxxxxx
4 xxxxxxxxxx
xxxxxxxxxx
5 xxxxxxxxxx
(When numbers get into the double digits, the ten's ...
I am using the JSLint plugin for Eclipse from Rockstarapps and JSLint multi 1.1 (Yahoo Widgets)
On both I keep getting ADSafe warnigns, no matter if I check or uncheck the ADSafe checkbox in the JSLint settings.
I am not using and I don't need any ADSafe functionality, how to get rid of the JSLint warnings in JSLint multi and Eclipse?
...
Hi,
I'm using a simple HTML5 form adapted for iPhone, and I want to show error alerts within the text fields themselves using the Placeholder property but I don't know how to access it via Javascript.
Here is a field example HTML code:
I want that the placeholder text (and maybe color?) will change in a javascript Validate function t...
I'm trying to redirect a page via javascript:
window.location('http://www.google.com');
but in firefox, I'm getting this error:
Error: uncaught exception: [Exception... "Cannot convert WrappedNative to function"
nsresult: "0x8057000d (NS_ERROR_XPC_CANT_CONVERT_WN_TO_FUN)" location: "JS frame ::
[url of my page] :: anonymous :: line ...
I am trying to make a table inside a table so I can organize stuff in the right place. But I simple cannot set the table width. Here is a picture of the table
and circled in red is the table inside table that I´ve created, it has one row 3 colluns:
and here is the code i´ve used to create the 2nd table:
// attack type
var farm...
Hi,
Quick questio : I need to allow an input to only accept letters, from a-z to A-Z, but can't find any expression for that, using javascript test() method.
Cheers!
...
This works:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script src="/js/msgv/widgets/excanvas2.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
...
I'd like to display a simple success or failure message in a lightbox on a website that I'm developing. The form submits to a PHP page that simply assembles some mail, sends it off, and then formats the appropriate message depending on the success or failure of the mail. I submit the form with a traditional <input type="submit"> button...
How to I achieve the following functionality?
I have an array:
a = [1, 2, 3, 4, 5]
b = [a[1], a[2], a[3]] //This array should be some kind of "array of references"
Any change in the array b should be applied to array a, as well.
...
I'm creating pulldown menus that must be clicked on to open. This code lets the user opening menus just fine. The only problem is I haven't figured out how to close the menus yet by clicking outside the menus. I tried adding the "document.onclick" shown, but it takes effect even in the menus.
I think I need to prevent document.oncli...
I want to trigger the same effect than when pressing the tab key on an element that has the focus. Is there any way of doing this? I am trying to make the focus jump to the next element.
Thanks!
(jQuery is an option)
...
I have large amounts of data formatted in JSON formats, I recently scripted the data to conform to flot's data set, except for one problem, the data has no x values.
EG:
{
label: "testMetric1",
data: [12,314,123,41]
}
I want to simply graph these values as y values. is there a way to tell flot to just assume the x series will be seque...
Since you can't apply custom headers on JSONP calls, how do I make cross domain requests AND apply custom headers using jQuery?
I'm basically trying to access google docs with jQuery and need to pass an authentication token:
var token = "my-auth-token";
$.ajax({
url: "http://docs.google.com/feeds/documents/private/full?max-results=1&...