Register
FAQ
Calendar
Search
Today's Posts
Rules
Guidelines
SMS enable your application
via Clickatell’s fast, simple and reliable API's, built to integrate with any system.
Click here
to learn more.
Flash Website Builder
- Trendy Site Builder is a Flash Site Building tool that helps users build stunning websites.
Check Out Custom
Custom Logo Design
by LogoBee. Website Design and Free Logo Templates available.
CodingForums.com
>
Search Forums
Search Results
User Name
Remember Me?
Password
Before you post, read our:
Rules
&
Posting Guidelines
Page 1 of 3
1
2
3
>
Showing results 1 to 25 of 63
Search took
0.15
seconds.
Search:
Posts Made By:
thesam101
Forum:
Java and JSP
09-26-2012, 10:39 AM
Replies:
2
Recursion problems
Views:
978
Posted By
thesam101
Hi ThetaZero You are setting the value of i...
Hi ThetaZero
You are setting the value of i relative to the size of the ArrayList, but you are removing from the array list. I haven't studied your code, but you may want to replace this:
...
Forum:
JavaScript programming
12-26-2011, 12:45 AM
Replies:
2
Accodion Menu help
Views:
308
Posted By
thesam101
easiest way? Use JQuery: ...
easiest way? Use JQuery:
http://api.jquery.com/slideToggle/
:D
Forum:
JavaScript programming
12-14-2011, 05:40 PM
Replies:
4
Declare variables question
Views:
321
Posted By
thesam101
Very true.
Very true.
Forum:
JavaScript programming
12-14-2011, 04:32 PM
Replies:
4
Declare variables question
Views:
321
Posted By
thesam101
Javascript isn't 'block scope' meaning any...
Javascript isn't 'block scope' meaning any variable declared inside blocks (such as if) can be accessed outside, and vice versa.
So in short, no, in javascript, it makes no difference whatsoever....
Forum:
JavaScript programming
12-13-2011, 10:19 PM
Replies:
8
Searching for a string inside of an array
Views:
446
Posted By
thesam101
Hi kev3kev3 Well it really depends on a...
Hi kev3kev3
Well it really depends on a couple of things. Do you want to search for EVERY instance of the string in the array? (for example if the string appears more than once in the array do you...
Forum:
JavaScript programming
12-13-2011, 09:19 PM
Replies:
4
Javascript problem with a clause?
Views:
375
Posted By
thesam101
Or just do that lol, damn my lack of regex...
Or just do that lol, damn my lack of regex knowledge :o
Forum:
JavaScript frameworks
12-13-2011, 03:13 PM
Replies:
2
Have a problem with javascript functions in handling an accordion
Views:
320
Posted By
thesam101
You could have addressed this all in one thread. ...
You could have addressed this all in one thread.
Worth merging:
http://www.codingforums.com/showthread.php?p=1170134
Forum:
JavaScript programming
12-13-2011, 03:09 PM
Replies:
4
Javascript problem with a clause?
Views:
375
Posted By
thesam101
Hi Albana_12 your script gets the last...
Hi Albana_12
your script gets the last character of the eventId, so i'm presuming in the original eventId thats passed to it, there is a string before the number? like so:
foo12
for...
Forum:
JavaScript programming
12-13-2011, 02:38 PM
Replies:
10
Returning ID of Disabled Element on Mouse Down
Views:
5,359
Posted By
thesam101
Hi wisar1111 Why not just use JQuery which...
Hi wisar1111
Why not just use JQuery which will do D&D for you?:
http://jqueryui.com/demos/draggable/#default
:thumbsup:
Forum:
JavaScript programming
12-11-2011, 10:01 PM
Replies:
7
Question about Arrays
Views:
578
Posted By
thesam101
Hi phenom01 Yes, myArray would hold the...
Hi phenom01
Yes, myArray would hold the values. :thumbsup:
Can we see the full code? (the code you are using to access it) As I suspect that is where the problem lies :eek:
P.S. I should...
Forum:
JavaScript programming
11-10-2011, 09:00 AM
Replies:
6
refresh problem
Views:
390
Posted By
thesam101
what on earth? lol Old Pedant gave you...
what on earth? lol
Old Pedant gave you constructive critisim. You expect him to pour through your undebugged code AND re-write it all for you?! That not what a forum is for, it is to offer advice...
Forum:
JavaScript frameworks
11-09-2011, 04:25 PM
Replies:
3
Why does this script not work for multiple images change onclick?
Views:
567
Posted By
thesam101
Just incase you copy and pasted it, i made a...
Just incase you copy and pasted it, i made a slight typo (which i fixed), in getElementById, it said, getElemtentById, but should getElementById
Forum:
JavaScript programming
11-09-2011, 04:03 PM
Replies:
2
Change Form and Action and then Auto Submit Question
Views:
554
Posted By
thesam101
Hi theflyingminstr apart from the fact that...
Hi theflyingminstr
apart from the fact that its prefferable to use a pure javascript window.onload event rather than onload="", I see nothing wrong with your code.
What isn't happening that you...
Forum:
JavaScript programming
11-09-2011, 02:00 PM
Replies:
7
Help with custom translator
Views:
951
Posted By
thesam101
Hi Kagi77 something like this?: ...
Hi Kagi77
something like this?:
<!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">...
Forum:
JavaScript frameworks
11-09-2011, 01:44 PM
Replies:
3
Why does this script not work for multiple images change onclick?
Views:
567
Posted By
thesam101
Hi brann_ Your method is quite round-about. ...
Hi brann_
Your method is quite round-about.
Firstly I should mention, that your <script> tag should declare the type attribute, and it should be:
<script type="text/javascript">
Then...
Forum:
JavaScript frameworks
11-03-2011, 08:46 PM
Replies:
6
Get values of previously generated input fields
Views:
607
Posted By
thesam101
Hi fishbaitfood It depends how you are...
Hi fishbaitfood
It depends how you are dynamically creating the elements.
If you are adding them to the DOM properly, then normal value retreival methods should be fine (treat them as static...
Forum:
JavaScript programming
11-02-2011, 11:41 PM
Replies:
9
Quiz debugging
Views:
476
Posted By
thesam101
Hi Scriptr Its doing that becuase you are...
Hi Scriptr
Its doing that becuase you are passing it the function name here:
document.getElementById("grade").innerHTML = grade;
I'm pressuming you mean to put this:
...
Forum:
MySQL
09-30-2011, 10:35 AM
Replies:
11
Selecting (all) from a field
Views:
408
Posted By
thesam101
Hi FlashDance no need for the where clause. ...
Hi FlashDance
no need for the where clause.
the query:
select id from products
by itself will return all the IDs. :thumbsup:
Forum:
JavaScript frameworks
09-21-2011, 06:22 PM
Replies:
11
I Need "Help" with Syntax Error
Views:
440
Posted By
thesam101
You didnt use my code the main fix in my...
You didnt use my code
the main fix in my code was this:
window.location("your.html")
should be this:
window.location.href = "your.html";
Forum:
HTML & CSS
09-21-2011, 04:43 PM
Replies:
5
How to take info somebody types in to a text field
Views:
481
Posted By
thesam101
Hi wwwwww As the others have said, a...
Hi wwwwww
As the others have said, a server-side language like php would be required. However, if you are only doing this on a local machine, and you do not need to distinguish between the people...
Forum:
JavaScript frameworks
09-21-2011, 04:33 PM
Replies:
11
I Need "Help" with Syntax Error
Views:
440
Posted By
thesam101
Hi rsines <script type="text/javascript"> ...
Hi rsines
<script type="text/javascript">
function newLocation()
{
var today = new Date();
var daynum = today.getDOY();
if ((daynum => 243)&&(daynum <= 283))
{
Forum:
PHP
09-19-2011, 10:08 PM
Replies:
17
"Warning: mysql_fetch_array() expects parameter 1 to be resource
Views:
3,757
Posted By
thesam101
Oh dear, i'm sorry, my freetyping seem to have...
Oh dear, i'm sorry, my freetyping seem to have struck twice, this:
while ($row = mysql_fetch_array($result)) {
echo "ids[ids.length] = $row[userid]";
}
should be this:
while ($row1 =...
Forum:
PHP
09-19-2011, 08:27 PM
Replies:
17
"Warning: mysql_fetch_array() expects parameter 1 to be resource
Views:
3,757
Posted By
thesam101
Hi naveendk.55 I'm very sorry, i made a...
Hi naveendk.55
I'm very sorry, i made a slight error (i did say it was freetyped lol)
This:
echo "names[names.length] = $row[userid]";
should be this:
Forum:
HTML & CSS
09-19-2011, 03:41 PM
Replies:
2
Updating marquee text from an inputbox
Views:
476
Posted By
thesam101
Hi ziggyster2007 I hope when you say...
Hi ziggyster2007
I hope when you say marquee, you do not mean you are using the marquee tag :eek: thats horribly depreciated i'm afraid :( javascript alterntives should be used. A google form...
Forum:
PHP
09-19-2011, 03:37 PM
Replies:
17
"Warning: mysql_fetch_array() expects parameter 1 to be resource
Views:
3,757
Posted By
thesam101
Hi naveendk.55 That <script> section I...
Hi naveendk.55
That <script> section I provided should go in the head section like I stated :thumbsup:
i.e. somewhere between the <head> and </head> tags.
Showing results 1 to 25 of 63
Page 1 of 3
1
2
3
>
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
:: Client side development
JavaScript programming
DOM and JSON scripting
Ajax and Design
JavaScript frameworks
Post a JavaScript
HTML & CSS
XML
Flash & ActionScript
Adobe Flex
Graphics and Multimedia discussions
General web building
Site reviews
Building for mobile devices
:: Server side development
Apache configuration
Perl/ CGI
PHP
Post a PHP snippet
MySQL
Other Databases
Ruby & Ruby On Rails
ASP
ASP.NET
Java and JSP
Other server side languages/ issues
ColdFusion
Python
:: Computing & Sciences
Computer Programming
Computer/PC discussions
Geek News and Humour
Web Projects and Services Marketplace
Web Projects
Small projects (quick fixes and changes)
Medium projects (new script, new features, etc)
Large Projects (new web application, complex features etc)
Unknown sized projects (request quote)
Vacant job positions
Looking for work/ for hire
Project collaboration/ partnership
Paid work offers and requests (Now CLOSED)
Career, job, and business ideas or advice
Domains, Sites, and Designs for sale
Domains for sale
Websites for sale
Design templates and graphics for sale
:: Other forums
Forum feedback and announcements
All times are GMT +1. The time now is
11:19 AM
.
Web Hosting UK
|
Dedicated Server Hosting
|
Shareware Junction
|
Software Geek
|
Flash file uploader
|
Cloud Server
|
Web Hosting Australia
Home
-
Contact Us
-
Archives
-
Link to CF
-
Resources
-
Top
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.