Hi folks,
I'm new here, but I love the site. I checked through the other similar questions, but I didn't see what I'm looking for.
I'm a musician, and I've been doing a "song of the day" thing for a while where I write a little song every day. I want to post the songs as <div>s inside <li>. In the divs, I just want a simple mp3 playe...
On an HTML form I have INPUT text box followed by a link, then followed by another INPUT text box. I want to remove the link from the tabindex / tab order:
<p>
<input type="text" name="field1" id="field1" value="" />
<a href="..a url.." id="link1">more info</a>
</p>
<p>
<input type="text" name="field2" id="field2" value="" />
</p>
Th...
I have a nested for loop inside a for loop that is supposed to change the link text to a random number between 1 and 5. The ID of the links are "aX_Y", X and Y being numbers. The links are arranged in a 4x3 square. The problem is that the random numbers for the link text is only displayed for the last row:
<!DOCTYPE html>
<html>
<head>...
How to make cross size and cross browser compatible
print CSS for World's most use
paper sizes to get print?
A4, A3, Legal etc
How we can same almost similar
formatting to our site page's like
MS word ? What are best practices to
get consistency in formatting of
print page from any popular
browsers?
How to set cross browse...
I have a 4x3 matrix where the class is set to blank (white background). I'm using
var rand = Math.floor(Math.random()*2 + 1);
and if its 1, the class is set to one (red background) and if its 2, the class is set to two (blue background). My code is suppose to make 6 links red and 6 links blue with the newgame function, however, sometime...
I'm new to web development, I'm sure there's a simple answer to this, but I cannot figure it out. Not entirely sure how to refer to things. All is done in HTML, Javascript and CSS.
I have an HTML page in which I use divs to define clickable objects in CSS. I'd like to have Page X be able to exist just as a page without always snapping t...
Hi,
I would like to customize my request-form content using javascript.
Say i have this in my html...
<div id="invite">
<fb:serverfbml style="width: 600px; height: 650px;">
<script type="text/fbml">
<fb:request-form
action="index.php"
method="POST"
invite="true"
type="MyApp"
...
Hi, I've a JavaScript file and it contains some methods. I want to call those methods from my winform application. Is it possible? If so can you give me a simple example?
I've tried like this
Process.Start("javascript:showuser('User1');return false;");
But it is not recogniging the showuser method. Because my js file is in remote loca...
Hi,
I have search and search the web and also on here.. for loops and all sorts for ways to access a json object like so:
[
{ name: "tom", text: "tasty" },
{ name: "tom", text: "tasty" },
{ name: "tom", text: "tasty" },
{ name: "tom", text: "tasty" },
{ name: "tom", text: "tasty" }
]
I want too loop through them an...
How can i push up into an array if neither values exist? Here is my json array/object:
[
{ name: "tom", text: "tasty" },
{ name: "tom", text: "tasty" },
{ name: "tom", text: "tasty" },
{ name: "tom", text: "tasty" },
{ name: "tom", text: "tasty" }
]
If i tried to push again into the array with either name: "tom" or...
How can you use PHP's Dot Equals .= operator in Javascript?
...
For some reason this isn't working?
I want to fill the ul#list with some items, but it's not working.
var list = "";
for (var i = 0 ; i<=history.length; i++) {
list += "<li onclick=\"copyShortURL('"+history[i].shortURL+"');\"><div class=\"short\">"+history[i].shortURL+"</div><div class=\"long\">"+history[i].longURL+"</div></li>";
}
...
How can assign multiple css classes to an html element through javascript without using any libraries?
...
how to get hidden element value in javascript
...
In my code I use an object and variables inside a function. When in that function I no longer use the object and variables I delete it:
delete myObject;
delete myVar;
Is it good practice?
Does it give speed?
My JavaScript is server-side on smart.joyent.com.
...
I'm making an app in Adobe Air and I want to make a robust looking UI. And it's quite hard to do in CSS, I just end up with lots of messy code that probably doesn't work that well anyway.
So does anyone know of a good UI CSS framework that focuses on a robust layout rather than pointless slidy crap and datepickers.
...
Hello, my name is Fernando and I want to write an extension for Firefox which is a client for Twitter.Eu been studying and came across the fact of having to use OAuth to bring up the "From Name" as example. Fact is that I've never seen it before, I am not very mainstreamed with OAuth and Firefox does not provide facilities to use it full...
I love jQuery but am running into a problem with larger site and multiple pages. My problem is that each page has unique requirements and I need to know the best way to tell jQuery which pages to activate certain things. For example, some forms need the Validator plug-in and some don't, some tables use DataTables plug-in and some don't...
the most darndest thing! the following code prints out 'llo' instead of the expected 'wo'. i get such surprising results for a few other numbers. what am i missing here?
alert('helloworld'.substring(5, 2));
...
Hi there (& Happy New Year!)
Are there some examples on how I can use JQUERY to get XML from a remote REST API and just display the XML? I just need a little assistance to get things going.
Request Details:
https://{username}:{password}@api.opsourcecloud.net/oec/0.9/myaccount
Response Details:
<?xml version="1.0" encoding="UTF-8" ...