3,892 Posted Topics

Member Avatar for eXceed69
Re: 51

[quote=Rashakil Fol;353696]Send the money to me instead; I actually need it.[/quote] That made me fall off the chair -- you never fail to amaze me with your quality humour. ;-)

Member Avatar for Rashakil Fol
0
516
Member Avatar for epod@ucla.edu

> [URL]http://www.daniweb.com/forums/thread85060.html[/URL] I think this thread is turning out to be a kind of reference to all those beaten up by timing issues... ;-) And BTW, its actually [INLINECODE]window.location.href = 'http://www.google.com'[/INLINECODE] and not [INLINECODE]window.location = 'http://www.google.com'[/INLINECODE] since [INLINECODE]location[/INLINECODE] is an object _not_ of type [INLINECODE]String[/INLINECODE].

Member Avatar for ~s.o.s~
0
7K
Member Avatar for christina>you

Yep, Tina is correct, it doesn't work for me either when using Firefox.

Member Avatar for hollystyles
0
212
Member Avatar for BalagurunathanS

Here is a quick and dirty way of doing it. It should suffice your purpose, but I must warn you that [I]any kind [/I]of validation done at client side is moot, pointless. Validation at the server is what you must go for unless its an intranet application with limited target …

Member Avatar for MidiMagic
0
805
Member Avatar for ~s.o.s~

Err.. hello though i am not new to this forum, i thought since i had originally not introduced myself thought this was the time for doing it:lol: BTW I am a student from India, who likes getting involved in technical discussions, helping other people out etc. etc. Hope I do …

Member Avatar for thunderstorm98
1
325
Member Avatar for Lost in Code...

This happens since the [I]referred [/I]column contains numric data and you are trying to substitute it with a string when null is encountered. You just happened to place the TO_CHAR function at the wrong place. Do something like: [code=sql] SELECT INITCAP(lastname), INITCAP(firstname), NVL(TO_CHAR(referred), 'test') FROM your_table_name ; [/code] Try it …

Member Avatar for Musta
0
159
Member Avatar for mimsc

There can be a lot of reasons. Do you get any exceptions? Does the old scriptlet way of including files works? Also make sure that you don't include a 'html' file but an 'inc' file with only the content minus the '<html>' and '<body>' tags since they are already in …

Member Avatar for mimsc
0
143
Member Avatar for ~s.o.s~

I was just wondering what are "Referrals" and "User Notes" used for. For eg. most of the people on this forum have zero referral but Miss Dani has many of them. Also what is the concept behind, member groups ??

Member Avatar for WolfPack
0
116
Member Avatar for finch

A very simple and crude snippet: [code]<select name="first" id="first" onchange="if(this.value == 'no') document.getElementById('sec').disabled=true; else document.getElementById('sec').disabled=false;"> <option value="yes">Yes</option> <option value="no">No</option> </select> <br /><br /> <select name="sec" id="sec"> <option value="yes">Yes</option> <option value="no">No</option> </select> [/code] I would leave to you the job of putting those bunch of statements in a separate function and …

Member Avatar for finch
0
111
Member Avatar for Agita
Member Avatar for Agita
0
173
Member Avatar for helloadam

> yall can't -rep for thread-digging now Infraction is always a viable option... ;)

Member Avatar for ~s.o.s~
0
230
Member Avatar for michael.ngobeni

> don't use Hashtable, it's to be considered deprecated. Plus its synchronized, making it all the more a poor choice if you don't plan on needing thread safe behavior.

Member Avatar for ~s.o.s~
0
103
Member Avatar for mimsc

Look into the Locale class. By detecting the user locale, you can pick up the corresponding information from the properties file(eg. the phone number format).

Member Avatar for ~s.o.s~
0
111
Member Avatar for Abominatos

> But where should I start? If game development, C++ all the way. Of course once you grow with C++, you can move to Windows programming, scripting, DirectX or OpenGL, the core technologies required for game development.

Member Avatar for ~s.o.s~
0
105
Member Avatar for EnderX

This notification thing is killing me. Even when I click on those threads _again_, they still refuse to move out of my CP. Any idea WTH is going on?

Member Avatar for MidiMagic
0
160
Member Avatar for staneja

You should atleast have pasted the 'stack trace' for us to help you out. The code as such looks OK. Paste the stack trace and the way you are trying to execute the WAR file.

Member Avatar for ~s.o.s~
0
177
Member Avatar for michael.ngobeni

Or something like this. Works in IE, FF and Opera. [code] <html> <head> <script type='text/javascript'> var CONST = 'myname'; function doSomething(frm) { for(var i = 1; i < 4; ++i) { var txt = CONST + i; document.frm[txt].value = 'Test'; } } </script> </head> <body> <form name="frm"> <input type = …

Member Avatar for hollystyles
0
140
Member Avatar for Hosmer23
Member Avatar for christina>you
Member Avatar for lasher511

James there is a limit to going off topic. The topic is _Parents_ and you people are talking about _Motherboards_ !!

Member Avatar for Serunson
0
787
Member Avatar for BalagurunathanS

See this sample snippet: [code] <html> <head> </head> <body> <form name="frm"> <input type="text" name="txt" value="Hello" /> <input type="button" onclick="this.form.txt.readOnly = true;" value="Disable text field" /> <input type="button" onclick="this.form.txt.readOnly = false;" value="Enable text field" /> <br /><br /> <input type="button" value="My Button" name="btn" /> <input type="button" onclick="this.form.btn.disabled = true;" value="Disable button" …

Member Avatar for ~s.o.s~
0
157
Member Avatar for tygerberg
Member Avatar for Ancient Dragon
0
129
Member Avatar for Anupkumar

Start from the [URL="http://java.sun.com/docs/books/tutorial/"]official Sun Java tutorials.[/URL]

Member Avatar for Anupkumar
0
164
Member Avatar for Bench

Maybe you would even like to read [URL="http://howto.wired.com/wiredhowtos/index.cgi?action=display_html;page_name=teach_a_kid_to_program"]this.[/URL]

Member Avatar for hbk619
0
134
Member Avatar for arkaprava

You just need to add the JConnector jar files to your application class path. If still in doubt, try out [URL="http://www.stardeveloper.com/articles/display.html?article=2003090201&page=1"]this tutorial[/URL] (untested).

Member Avatar for ~s.o.s~
0
57
Member Avatar for thewizard397

> Hi, I'm looking for a good program writing tools C++, have any suggestions? What exactly do you need? As Jwenting pointed out, your question doesn't make sense. Do you need some kind of software to speed up your development time or C++ development tools?

Member Avatar for Ancient Dragon
0
116
Member Avatar for sivavissamsetti

There is no direct replacement of window.createPopup() function as far as I know. Its an IE function only. But I don't see what kind of functionality you require which can't be satisfied by the window.open() function?

Member Avatar for MidiMagic
0
1K
Member Avatar for saswati_mishra

If you are by any chance attaching or calling the validation function to the 'onclick()' event of the 'submit' button, you need to return a value from the validation function to prevent the trip to the server and to make the data in the form fields persist. [code] <html> <head> …

Member Avatar for saswati_mishra
0
159
Member Avatar for treecarver

A static method implies a class level method (as opposed to the instance methods) while a static variable implies a class variable. All instances of that class would share the same copy of the variable. If you want your 'HashSet' to be 'free from changes', make it [B]final[/B]. Also keep …

Member Avatar for jwenting
0
159
Member Avatar for sk8ndestroy14

> unless jocamps or myself stop narue she has a sixty percent chance of winning the tournament. Unless you stop someone, they have an 100% chance of winning. ;-)

Member Avatar for sk8ndestroy14
0
254
Member Avatar for newsteve

You need to enter the reference to the newly created pages in an array which is kept in the main page and use that array to loop through the window references and close them. Something like this: [code] [B] Main.html[/B] <html> <head> <script> var wnd = new Array(); function openit(id) …

Member Avatar for ~s.o.s~
0
98
Member Avatar for JC4QLx3

Use top.your_frame_name or window.frames['your_frame_name'] to get the frame reference.(here top is the global window object). Read this for more information about [URL="http://www.w3schools.com/dhtml/dhtml_domreference.asp"]DOM.[/URL]

Member Avatar for ~s.o.s~
0
125
Member Avatar for PoovenM

Paste the code which causes the 'NumberFormatException'. As far as the constraint imposed by the primitives is concerned, read up on [URL="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"]Biginteger.[/URL]

Member Avatar for PoovenM
0
207
Member Avatar for Infarction

Here you go MS Boy... :-) [code] <html> <head> <script> function boundDim(oObject) { var oTextRange = document.selection.createRange(); if (oTextRange != null) { alert("The bounding left is \n" + oTextRange.boundingLeft); oTextRange.pasteHTML("<b>" + oTextRange.htmlText + "</b>"); } } </script> </head> <body onclick="boundDim(this);">Hello to all. Hello to me.</body> </html> [/code] The above is …

Member Avatar for Infarction
0
296
Member Avatar for Dave Sinkula

> While I did say 10, not 5, I do believe I said something about it. Actually a PM to Dani for such critical things is the most logical thing... I have myself PM'ed her twice regarding the way code tags behave with Javascript code.

Member Avatar for PsyKoKill
0
296
Member Avatar for The Dude

> Especially with Huggy Bear coming up so often. I guess you must be associating 'Huggy bear' with weird things...

Member Avatar for tygerberg
0
123
Member Avatar for rav_n

Something like [URL="http://www.microsoft.com/downloads/details.aspx?FamilyID=2f465be0-94fd-4569-b3c4-dffdf19ccd99&displaylang=en"]this[/URL] and [URL="http://www.jonathanboutelle.com/mt/archives/2006/01/howto_debug_jav.html"] this?[/URL]

Member Avatar for MidiMagic
0
79
Member Avatar for Ainur

If you really want to [I]learn, [/I]stop attempting those questions and start off [URL="http://java.sun.com/docs/books/tutorial/getStarted/index.html"]here[/URL]. Just keep pressing 'Next' and you would be good to go. You first need to know what you are dealing with before diving in head first. The good thing about the tutorials is that they have …

Member Avatar for Ainur
0
132
Member Avatar for purple rainx

Keeping pets would be too much err..[I]mendukse ([/I]troublesome) :D I barely manage to keep myself up somehow, so if I got a pet, both he and I would be sitting on the couch watching TV, doing nothing while all the unwashed utensils stinking in the kitchen, unwashed clothes emitting foul …

Member Avatar for Serunson
0
244
Member Avatar for MidiMagic
Member Avatar for Dani

> I didn't know that this sort of work is so low valued I don't think so. Think of it this way, the same rep cancellation has happened to each and everyone out there. :-) BTW, nice work Dani. Now only if you could work towards implementing the Devshed pointing …

Member Avatar for Dani
1
989
Member Avatar for EnderX

> Of course you do know something about computers! If you don't > then how in the world are you posting on DaniWeb I think he meant it 'The programming language' way, though I completely agree with you. :) > Before you know it you will become as good as …

Member Avatar for christina>you
0
153
Member Avatar for suresh_nsnguys

AFAIK, Firefox always had problems with supporting the 'attachEvent' function which works properly in IE and Opera. Try something like: [inlinecode]aShow.onactivate = kiosk;[/inlinecode] This code would work in all browsers. And I am pretty sure that only IE supports something like 'onactivate' since it doesn't seem to be a standard …

Member Avatar for ~s.o.s~
0
161
Member Avatar for Ainur

Write a separate helper function 'factorial()' which would calculate factorial of any number passed to it. Call that function from the 'factorialSum()' function. [code] private long factorial(int num) { //code here return(result); //possibility of overflow } public long factorialSum(int a, int b) { //code to check the validity of inputs …

Member Avatar for ~s.o.s~
0
149
Member Avatar for piers

> I am also doing java and I am just wondering what its uses are in webdesign apart from game creation? J2EE can be used for creating rich, easier to maintain, modular dynamic web applications. The advantage is that you don't need to learn a new language just to develop …

Member Avatar for jwenting
0
101
Member Avatar for mikeandike22

AJAX is required only when you need some kind of asynchronous interaction with the server without spoiling the user experience(i.e . without page reloads). So do you need this progress bar just for eye candy or does it have anything to do with the server being busy or something like …

Member Avatar for mikeandike22
0
71
Member Avatar for JC4QLx3

When the button is clicked, check to see if the window is already open using the 'window.closed' property which returns a boolean. If the child window is open, just give it the focus using the function 'focus()' and if it isn't then open a new one. [code] <html> <head> <script> …

Member Avatar for ~s.o.s~
0
179
Member Avatar for MattEvans
Member Avatar for Ancient Dragon

If you will look at the list of the things allowed in signatures... [code] Allow Basic BBCode [B]Yes[/B] Allow Color BBCode [B]No[/B] Allow Size BBCode [B]No[/B] Allow Font BBCode [B]No[/B] Allow Alignment BBCode [B]No[/B] Allow List BBCode [B]No[/B] Allow Code BBCode [B]No[/B] Allow PHP BBCode [B]No[/B] Allow HTML BBCode [B]No[/B] …

Member Avatar for guinanie
0
104
Member Avatar for greeny_1984

Maybe something like[URL="http://javanet1-staging.locaweb.com/ajax-autocomplete/"] this?[/URL]

Member Avatar for MidiMagic
0
66

The End.