3,892 Posted Topics
Re: [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. ;-) | |
Re: > [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]. | |
Re: Yep, Tina is correct, it doesn't work for me either when using Firefox. | |
Re: 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 … | |
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 … ![]() | |
Re: 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 … | |
Re: 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 … | |
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 ?? | |
Re: 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 … | |
Re: > yall can't -rep for thread-digging now Infraction is always a viable option... ;) | |
Re: > 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. | |
Re: 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). | |
Re: > 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. | |
Re: 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? | |
Re: 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. | |
Re: 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 = … | |
Re: James there is a limit to going off topic. The topic is _Parents_ and you people are talking about _Motherboards_ !! | |
Re: 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" … | |
Re: Start from the [URL="http://java.sun.com/docs/books/tutorial/"]official Sun Java tutorials.[/URL] | |
Re: 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] | |
Re: 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). | |
Re: > 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? | |
Re: 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? | |
Re: 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> … | |
Re: 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 … | |
Re: > 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. ;-) | |
Re: 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) … | |
Re: 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] | |
Re: 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] | |
Re: 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 … | |
Re: > 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. | |
Re: > Especially with Huggy Bear coming up so often. I guess you must be associating 'Huggy bear' with weird things... | |
Re: 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] | |
Re: 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 … | |
Re: 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 … | |
Re: How about posting some code so that we have something to chew on? | |
Re: > 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 … | |
Re: > 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: > 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 … | |
Re: 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 … | |
Re: 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> … | |
Re: > IE7 must not follow CSS like IE6 does CSS !? | |
Re: 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] … | |
Re: Maybe something like[URL="http://javanet1-staging.locaweb.com/ajax-autocomplete/"] this?[/URL] |
The End.