hi all is it possible to access single bits of an int like in c or is it neccessary to convert to an array of

tag?

give each option a value and then send "this.value" to whatever in the onchange event

Send the correct content type then

it's not my server
I can't control the received content-type

tough luck then

is there an alternative keyCode for gecko ? i get undefined

You did something wrong

oh
i see

and function test(e) { alert(e); } i get undefined =(

isn't the first parameter in gecko the event object ?

no, as you're calling the function, not assigning it as an event handler
onkeyup="test()" is the equivalent of someInput.onkeyup = function() { test(); }; - you want someInput.onkeyup = test;

Hi Guys, if I have three vars v1, v2, v3. How can I dynamicly access them will window.alert('v'+n) work?

make an array :P

I can't my example is a paraphrase of my problem

if they're in the global scope, window["v" + n], otherwise replace window with whatever object contains them

window['v'+n]

so would it be window.alert(window['v'+n])?

just try it out

input name="pldr_mkd" type="TEXT" value=""/tdtdinput onClick="if (!preMkdir(document.forms[0].pldr_mkd.value))return;
any idea why that doesnt work
value is alawys 'undefined'

is a button

write your markup in lowercase.

that din't work..

umm what

What error message did you get?

undefined

Let me repeat myself, "write your markup in lowercase"

yea, i have no idea what you mean

Then you don't have a global variable named 'v'+n
onclick not onClick

it works just fine for another button just like that
its ECS generated html

ECS?

dows it have to be global?

Yes. As already stated by insin.

jakarta ECS, a java html generator thingy

Anyhow, you should write your markup in lowercase (easier on the eyes) also xhtml requires you to write it in lowercase. So you best start now!

new Input(Input.BUTTON, "bla", "bla").setOnClick("alert('omg');");

doesn't look like he's using XHTML

Send a message to the Jakarta ECS author, tell him to change it.

this is plain html

rather than input /

I know, I didn't say he was using it either.

but still doesnt make any sense, why does it return "undefined" when the other similiar one works just fine

But there's no point writing onClick in html, and doing so just because "it works" is a vague reason

you probably don't want 3 variables named v1, v2 and v3. You probably want an array named v

I don't know, I donä't even know what preMkdir is.

its just a check i make, but its not important
as all it does currently is preMkdir(directory) { alert(directory); }
and directory is always 'undefined'
even tho there is text in the text field

then there really is only one reason, you have more than one form, and forms[0] isn't the one your looking for.

i only have one form

you should be using .elements['input_name'] rather than .input_name

the other similiar function works fine, this one doesnt

what happens if you alert document.forms[0].pldr_mkd ?

and if it the field wasnt in the form id get an error
hmm ill test
[object NodeList]
whatever that means

sounds like you have multiple fields with the same name

its just a plain text field, how does it have multiple fields

pastebin the entire page html hosting please

do any of your other inputs have name="pldr_mkd" on them?

nope
just one field, and i pasted it

pastebin the entire page HTML please
http://paste.css-standards.org/

doh damn monday, was just a typo in the function itself

element inside a element?

I know it's not a JS question… but I assume that most on here are web devs.

IIRC, can't contain block-level elements, so no

hmm, okay. thanks insin

5 + "test"

5test

Any brits lying around?

cor blimey, guv'nor (I'm in the UK)

15 Commercial Road, Leith, Edinburgh — how do you parse that?
Here in .au you'd either be in the suburb of Leith or the City of Edinbugh (as in the city, not suburb thereof)

I'd take leith as the county, probably

Oh

"Formerly a municipal burgh,[1] Leith is a town at the mouth of the Water of Leith and is the port of Edinburgh, Scotland. It lies on the south shore of the Firth of Forth, in the unitary local authority of City of Edinburgh."

…or a town

Yeah, that's what I thought
not the county
Edinburgh might be the county .. ?

looks like Midlothian is the county
"The county of Midlothian was known, officially, as the County of Edinburgh until 1921"

heh
Client gave me "leith, edinburgh" .. which I'm trying to fit into a normalised form :-D
uClient gave me "leith, edinburgh" .. which I'm trying to fit into a normalised form :-D /u

just put "15 Commercial Road, Scotland"

ugh, normalisation of addresses

did they give you a post code? that clears everything up
you could probably post something here with just a number and a post code and have it arrive ok

Yeah

number, post code and country code

Just saw his other company has the same street address and postcode but is in leith, MIDLOTHIAN

parsing addresses is fun… especially if they have errors

both are right, but incomplete

and if they're in a far off land

how well do JS regexps work across browsers?

how? Surely the 'edinburgh' shouldn't be in there?
almost 100%

goodie, worth using then

Oh yes, absolutely

Leith is in Edinburgh, which is in Midlothian, which is in Scotland, which is in Great Britain, which is in the UK

The only thing I can thing of right now is split(/(.)/) changes
then you all just need to get over it .. ISO says there's a country, then a sub-country

almost?
100%?

what is my overtired brain forgetting?

almost 100%

/excuses

What's not working?

The only thing I can thing of right now is split(/(.)/) changes

that would be more of a split-method implementation error.

"abc".split(/(b)/).toSource()

["a", "b", "c"]

true
^^ in IE, that would return ["a", "c"]

captured groups should be injected into the returne darray

absollutely

yes, true (even in ie7?)

im just doing a trim on a string

haven't tested IE7
I see about 3% market share .. :-D

ok

(why has nobody upgraded??)

Because it's a piece of shiiite?

LOL
I think the interface has gone stupid

that too

But at least they fixed a couple of things

I dont want to install windows vista either, but feels somewhat forced too
Guess I could wait til fall, when sp1 is out… Hopefully they'll make it "better".

I'll only ever install windows into vmware ..

i use vista x64 ultimate at home

Which (sadly) is not an option for me.

hi all! is it possible to access single bits of an int like in c, or is it neccessary to convert to an array of bools?

if your hardware is new(ish) its ok

it's "ok'ish".

i actually like it alot :P
well it works 100% for me

b) & 1

I'm going to wait until SP1 then find out if people either 'Confirm' or 'Deny' that it's better

some small annoyances but they are mostly the softwares fault

ofc, since all the fubar stuff, according to ms, "working as intended"

100% works.

prolly due to api changes

ty alot

7) & 1

1

hehe, indeed

i have a current generation computer and all the drivers etc work, thats the hardest part with vista

I can't imagine that my Dell XPS M2010 will have any problems with driver either
But for now I'm sticking to XP Pro on the dual boot

current generation is not neccessarily sufficent for vista

(I only ever boot into it once every couple of months .. not worth the $$$ for vista)

e6600 4GB and 8800gts, works fine

$150 Vista Home Premim
too bad 800gts doesn't have full support for purevideo
8800*

hi there. any ideas what is faster?
- creating dom nodes using document.createElement
- or writing the equivalent in HTML using document.write

the latter.
But I wouldn't recommend using document.write.

thats why i have another computer hooked up to my 42" 1080p with a 8500gt

It's fubar..
roger

the only thing not working until now is my dvb-s card … :-(

what's wrong with the 8800gts and purevideo

and why is that so? i mean using the latter the stuff has to be parsed

dvb-s is crap
dvb-c/t is crap also
dvb-h also crap

dvb-s is ok if you know what for

dvb-s2!
sadly finland is so far up north that cant get good sats without a 10meter dish :P

I would only use IP-TV,seems like the best

really??
why that?

therse some iptv projects here, just have to wait for the hardware to get hacked so can just use pc software instead of a STB

Because bandwidth-wise, IP-TV seems like the best host choice, you get the stream you'r looking at at that exact moment, all other crap standards they have to stream all channels to all recipients with no regards to what the viewer
is looking at.
bandiwth-wise s/c/t/h will be very limited…
and service-providers will lower bitrate to get more channels to broadcast in the narrow space

sucks fata**

erm… dvb-s is bandwith-limited in comparison to what, please?
just curious

amagad, I just said it, IP.

and ip over what medium are you talking about?

There's a limit to how much information that can be sent over the sat
Just regular ip-traffic over the internets

were talkin about nearly 100 gbps on dvb-s … seems like is rather limited to me, though
like dedicated ip hosting is rather limited, sorry

depends on how many channels you want to broadcast, with IP you just have to send the packageinformation that's currently of use to the recpipents
also easier to maintain subscriptions on a IP-TV network.

hm… maybe i don't want to need subscriptions to watch free channels?

Why would you need a subscription to watch free-channels? It's not like it's a requirement in IP-TV that all have to subscrbe/pay. /eos

but it requires me to pay for ip… a once installed dvb-s system goes free
also not everywhere ip is available

no, but it is to me, athat's why I prefer ip-tv over s/t/c/h
sleep tight

no… you said dvb-s is crap. sounded rather generalized to me

I said all was crap.
You started talking about s.

yep… but even saing all is crap is general, don't you think so?
i just wanted to say that it _can_ make sense to use dvb
have phun with your coffee! :-)

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Comments are closed.


Blog Tags:

Similar posts: