I have worked with this pattern with an onclick handler in the HTML and the function in JavaScript.
Is there a more optimized means to fire an event listener / handler which could remove the need...
Type: Posts; User: sniperman; Keyword(s):
I have worked with this pattern with an onclick handler in the HTML and the function in JavaScript.
Is there a more optimized means to fire an event listener / handler which could remove the need...
You are right. I am still getting my head around the difference between a reference within the prototype constructor using Thing.Type rather than this.Type. I found both are valid when calling an...
<label>Choose Thing</label>
<select size="1" name="thing_type" id="thing_type" onchange="Select(this.value, this.options[this.selectedIndex].title);">
<option value="OneType">Type...
I guess not. I should thank myself
I self-solved. ;)
Do people read this stuff??
<script type="text/javascript">
var holdMeOutside = []; // global variable holds function objects passed out
var example = function(a, b) {
I have a small puzzle I am likely to solve myself quickly. However I will throw the question to the community and see the kind of solutions others would use in this scenario.
Below is a simple...
That did help thanks.
I attempted to improve the code myself (it has been a year since I coded) and managed to find a solution to remove the excess JS code in the HTML event listeners.
I would...
I have started to work with JS after a long hiatus, and wanted to create a simple logic to store values and hold their state on each call back.
I attempted to use Constructors. I also attempted...
That also worked.
I think the problem was that my .htaccess file was in the root directory while the blog (Wordpress) was in a subdirectory. Wordpress generated its own .htaccess file within that...
Thanks. That sorted it out instantly.
The problem now is that on the new directory, when I try to click on any links (it's a blog) then it redirects to the root folder. It needs to be able to...
I have moved a directory and its files to a new location on the server and attempted redirects.
# redirect a directory with the filenames preserved
Redirect 301 /old-folder/(.*)...
Having a problem with a function call from a search box on an order form on http://www.teammed.com.au/place-an-order-online.
The search box uses jQuery UI Autocomplete 1.8.12 for each keystroke
...
Just an update. I've resolved the issue.
When searching for "force download" I came across another post in Dynamic Drive forums. Basically I added an .htaccess file with the code below to the...
Ordinarily this would be no problem but the reason this approach was required is because the movie is over 100MB and my server is acting as a conduit for another person to access mainly because...
Hi back to a newbie question here. I just uploaded a .wmv Windows Media Player video to a server. I had hoped to go to the website, type in the URL and a pop-up window would show up which asked...
Ok. Silly me.
#header #logo { }
#header_index #logo {}
I find theme editors hard to scroll in, hence, the wrong selectors in the first place!
I need to brush up on my CSS. I have a website powered by PHP which uses 2 templates.
The website is here http://insurancerestorationgroup.com.au/
The code on one page looks like this
...
I'm vexxed, terribly vexxed.
I am having trouble with permissions in .htaccess. At one stage I installed a plug-in for site security and it protected from suspicious query strings. Some images...
Thanks, that was somewhat helpful.
Your example gave me a chance to look up some tutorials because I needed the text nodes to appear inside the <p> tags. After some good sleep and a couple of...
I'm hoping someone can help the brain freeze I've had in the past couple of hours. I am using the below code to create a text node and a span element.
onload=function(){
var root =...
Hi,
I have three tables which all have financial data stored inside them
Expenses Table
- Transaction Cost
- Service Provider || Row Source = SELECT [Service Providers].[Service Provider]...
Glad you found a solution
I have a database which has two tables for "Account Details" and "Service Location".
Service Location Table
____________________
Service Location (new data)
* Domain Name Address (lookup)
^...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<script type="text/javascript"...
Try to remove the single quotes '' from the first parameter of addDIV()
from this
animatedcollapse.addDiv('varJMainID', 'fade=1')
<a...