Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 11 of 11
Search took 0.08 seconds.
Search: Posts Made By: patorjk
Forum: JavaScript programming 12-23-2008, 06:53 AM
Replies: 3
Views: 630
Posted By patorjk
This is part of the W3C DOM. Double check and...

This is part of the W3C DOM. Double check and make sure that they're appearing in IE 6.0 and IE 7.0. I've never dealt with them myself, but from what I've read, IE does not support empty text nodes. ...
Forum: JavaScript programming 12-23-2008, 06:42 AM
Replies: 2
Views: 618
Posted By patorjk
I don't believe the main window has an object...

I don't believe the main window has an object that contains all of the popup windows that have been loaded. Even if it did, take the scenario where a window opens another window and then the user...
Forum: JavaScript programming 12-22-2008, 05:54 PM
Replies: 2
Views: 495
Posted By patorjk
I'm not sure if you can do that, since then you...

I'm not sure if you can do that, since then you could prevent the user from leaving the page, and the browsers want to keep the user in control. You can, however, use the body tag's onunload event to...
Forum: JavaScript programming 11-18-2008, 05:47 AM
Replies: 11
Views: 799
Posted By patorjk
I did a quick mockup of your webpage using what...

I did a quick mockup of your webpage using what we have here and I think the problem rests in the use of document.form.select1

I changed this line:

<select name="select1" size="1"...
Forum: JavaScript programming 11-18-2008, 04:48 AM
Replies: 11
Views: 799
Posted By patorjk
What does the code look like now that it's all...

What does the code look like now that it's all put together?

Also, how are you changing the postage, via the drop down box? If so, it should update automatically. If they change it via the...
Forum: JavaScript programming 11-18-2008, 04:05 AM
Replies: 11
Views: 799
Posted By patorjk
Ah, you're getting the NaN error because the code...

Ah, you're getting the NaN error because the code is trying to multiply a string "$100" by an integer. One way around this would be to remove the "$" from the array values, and then add it back in...
Forum: JavaScript programming 11-18-2008, 03:14 AM
Replies: 11
Views: 799
Posted By patorjk
One way that comes to mind, assuming this webpage...

One way that comes to mind, assuming this webpage is a .php file, is that you could write the PHP variable's value to a hidden input tag, and then read that value out when you're doing your...
Forum: JavaScript frameworks 11-18-2008, 03:00 AM
Replies: 16
Views: 3,064
Posted By patorjk
I've used YUI and found its slider, color picker...

I've used YUI and found its slider, color picker and tab controls to be really useful. I've also used Plotkit for creating web charts. Plotkit is really nice. Its built on top of Mochikit, which I...
Forum: JavaScript programming 11-18-2008, 01:54 AM
Replies: 11
Views: 799
Posted By patorjk
Change this part of your code: function...

Change this part of your code:

function displaydesc(which, descriptionarray, container){
if (document.getElementById)...
Forum: JavaScript programming 11-17-2008, 06:32 AM
Replies: 1
Views: 906
Posted By patorjk
You can use the document.selection object in IE...

You can use the document.selection object in IE and Opera, and the selectionStart and selectionEnd properties in Firefox and Safari. I tried it out real quick and it seems to work:


<html>...
Forum: JavaScript programming 11-17-2008, 05:39 AM
Replies: 4
Views: 645
Posted By patorjk
Yahoo's User Interface Library has a utility that...

Yahoo's User Interface Library has a utility that does most of what you want:

http://developer.yahoo.com/yui/dragdrop/ - YUI drag and drop info page...
Showing results 1 to 11 of 11

 
Forum Jump

All times are GMT +1. The time now is 02:57 PM.