Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: pallone
Forum: Javascript How-To July 8th, 2011, 05:13 AM
Replies: 8
Views: 30,625
Posted By pallone
Imar, Thanks for all your help

Imar,

Thanks for all your help
Forum: Javascript How-To July 7th, 2011, 10:37 AM
Replies: 8
Views: 30,625
Posted By pallone
Hi Imar, I think your first suggestion is...

Hi Imar,

I think your first suggestion is going to work. I am comparing two values instead of one. What do you think?

Cheers

var selectedNodes = getNodeSet(xmlResult.xml,...
Forum: Javascript How-To July 7th, 2011, 10:14 AM
Replies: 8
Views: 30,625
Posted By pallone
Hi Imar, the previousValue cannot be an...

Hi Imar,

the previousValue cannot be an empty string otherwise it will be true and I will break out of the loop.

In my collection I have foo, foo,bar.foo. Therefore, if I compare the first...
Forum: Javascript How-To July 7th, 2011, 09:16 AM
Replies: 8
Views: 30,625
Posted By pallone
Hi Imar, 1 - But what happnes to firstName?...

Hi Imar,

1 - But what happnes to firstName? You have not assigned it to any value? Do I still need to have my variable at the top ( var firstName = selectedNodes[0].value)

2 - Please could...
Forum: Javascript How-To July 7th, 2011, 09:11 AM
Replies: 8
Views: 30,625
Posted By pallone
Hi Imar, thanks for the reply. I will try...

Hi Imar,

thanks for the reply. I will try that.
Forum: Javascript How-To July 7th, 2011, 09:04 AM
Replies: 8
Views: 30,625
Posted By pallone
How to compare current value with previous value in a loop

Hi,

How do I compare the current value with previous value in a loop in javascript and determine if they are different?

The code below is my trial but to no avail. I am not comparing with the...
Showing results 1 to 6 of 6

 


All times are GMT -4. The time now is 09:05 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.