3,892 Posted Topics
Re: [QUOTE=evanlarsen;689118]1. People seem to think that there is a cold war going on between Adobe's Flash, Microsoft's Silverlight, and JavaScript. With all the new JavaScript Libraries coming out like DOJO, JQuery, Mootools and others; JavaScript is becoming pretty powerful and animations are becoming easier. So my first question is.. [B][COLOR="Red"]How … | |
Re: The only valid solution to this problem of yours is to set proper response headers related to caching. For e.g. to make images uncacheable, serve them with a response header [icode]Expires: some past date[/icode]. Google for caching headers. | |
Hope you have gone through enough S.H.I.T. in humor to understand this one. :-) | |
Re: > That's really not real Chinese, isn't it? Wrong use of question tag methinks. ;-) Oh, and yes, it really isn't Chinese, just using some random language for familiar English words. [quote] Has your flight been delayed? - Hao Long Wei Ting? - How long waiting I got this for … | |
Re: > Of course, then we'd also have to deal with the people who mistake the "report PM" button > for a "reply" button. ...which is what we still do sometimes in the Reported posts forum. :-) BTW, this sounds like a good addition to the current spam handling system as … | |
Re: > here's the way to send your encrypted password to server [ snip ] Which of course fails if Javascript is disabled on the clients' computer. And of course, using a Javascript equivalent of the hashing algorithm exposes your entire hashing logic. A better way would be to use a … | |
Re: The error makes proper sense; think about it, the page which made an Ajax request in the first place is no longer there and hence a NS_ERROR_NOT_AVAILABLE. You have two options here: • Redirect the user to the Google home page once the Ajax request is complete and you have … | |
Re: Use the [ICODE]replace[/ICODE]function iteratively as long as given character occurs in the target string (can be found out using [ICODE]indexOf[/ICODE]). Post your code so that we can suggest possible modifications. Another complicated, but elegant solution would be to use the [ICODE]replace[/ICODE] function which uses a Regular Expression along with the … | |
Re: Maybe [URL="http://www.walterzorn.com/tooltip/tooltip_e.htm"]this [/URL]library will help you in dynamically attaching tooltips to your RSS links. | |
Re: Maybe this should help: [URL="http://www.bridgeport.edu/sed/projects/cs597/Fall_2002/kdonthar/index.html"]LINK[/URL] [URL="http://www.codeproject.com/ce/png__jpg__etc_on_pocketpc.asp"]ANOTHER ONE[/URL] Just let me know if it is any good. | |
Re: > A way to work around this is to store the IP address of the user at login, and keep checking > it on every page. And what are you going to do about users who are behind a common proxy which is almost the case with all corporate organizations. … | |
Re: Yes Mr. WaltP is correct, when you declare a char it is automatically taken as signed char whose range it think is from -127 to 128 (not very sure). Try declaring "i" as unsigned char and then try compiling it. | |
Re: Thought it would be easier if we all chipped in and helped you out but it would beat the actual purpose of learning things. If you are still in the stages of developing your programs in a text editor, litter your program with log statements at appropriate places and find … | |
Re: No, IMO no such thing exists, at least not in terms of code. No matter how hard you try, anyone can copy your layout, design, Javascript etc. of your site and use them. Maybe some other legal alternatives? | |
Re: > I still have the screenshot somewhere from my 666th Hope it still gives off an evil aura. ;-) BTW, congratulations 'Ene'! :-) | |
Re: [quote=sharky_machine;273892][B]I love Manowar[/B] [/quote] "Brothers of Metal" have you heard this song :mrgreen: | |
Re: What does the Firefox Error Console say? Post a complete snippet which doesn't work so that we can try it in our browsers rather than posting chunks. ![]() | |
Re: > Why not just stop worrying about it? Why? Because it ends up wasting precious time of all the people involved in the process; precious time which could have been otherwise used to help out people. Leaving those things apart you would be surprised at the number of repeat offenders. … | |
Re: Instead of specifying an URI to a HTML page, specify a image URL, something like [url]http://www.google.co.in/logos/closing_ceremonies.gif[/url] ; use a byte oriented stream for reading data instead of using a text oriented one like BufferedReader. | |
Re: That post was from September last year, almost a year back. Plus Dani promised something like that won't happen again. Maybe this needs to be brought to her notice since this might be the same problem or something new. | |
Re: If you know JSF, it shouldn't be that difficult. You just need to bind a list to the DataTable component and the JSF lifecycle will make sure that you get the updated values (the changes a user has made) in your list. For more reference see [URL="http://forums.sun.com/thread.jspa?messageID=4180547"]this [/URL]and [URL="http://balusc.blogspot.com/2006/06/using-datatables.html"]this[/URL]. | |
Re: There is no concept of an actual clipboard in web applications; in standalone applications, sure, but in browser based applications. If you want to persist state across pages, there are two ways. One would be to set the value as a HttpServletRequest attribute with key as "key" and then retrieve … | |
Re: This [inlinecode]<([^>]+)>[/inlinecode] would probably be what you were looking for. Since I don't know the C# Regex API (neither C#), I can't help you in that area, but as long as you know how to use back-references and extract the matched text, this shouldn't be a major problem. For some … | |
Re: Using the[URL="http://www.w3schools.com/js/js_obj_math.asp"] Math javascript object[/URL] (esp the random() function) along with [URL="http://eternallyconfuzzled.com/arts/jsw_art_rand.aspx"]this [/URL]tutorial should get you going. | |
Re: Are you sure you want to dynamically generate those fields? If you run your code in Firefox, what do you see in the Error Console? Post a non-working example of what actually you intend to do. | |
Re: Surely you must have kept some sort of exception handling / logging in your code to help you pinpoint the error/fault? Also, since the code was previously working, it has surely got something to do with your configuration. Which type of database driver are you using? Type 1 which uses … | |
Re: Using a [URL="http://www.walterzorn.com/dragdrop/dragdrop_e.htm"]drag and drop library[/URL] along with a simple Javascript logic should get you going. | |
Re: How about showing what you have attempted so far? | |
Re: [URL="http://code.google.com/apis/ajaxsearch/documentation/reference.html"]Google Ajax Search API[/URL] | |
Re: Maybe this might get you working in the right direction: [code] <!-- Calculate the difference between the two dates. Copyright (C) 2008 sos aka Sanjay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the … | |
Re: Grab hold of the Firebug(a Firefox plugin) and restart Firefox to enable it. Open the website in Firefox, click on the Firebug icon at the right corner of your browser status bar, go to the "Net" tab and monitor the traffic there. If the site makes use of Ajax, any … | |
Re: > My Apologies. didnt mean for this to happen. reading my posts sounds a bit creepy. sorry > though cheers Though this won't change the fact that you still love cracked software? Would any of the rantings here make you change it? Right and wrong are relative. What might be … | |
Re: Not necessarily, it was a trick question. See [URL="http://www.daniweb.com/forums/post109197-4.html"]this.[/URL] | |
Re: Google for 'google search api'. You would also require the help of some server-side language along with Javascript to achieve this task. | |
Re: [URL="http://developer.mozilla.org/en/DOM/element.appendChild"]appendChild [/URL]requires a DOM element, not a string. The Firefox error console would have pointed out the problem much earlier. Other than that, using [ICODE]elem.setXXX[/ICODE] / [ICODE]elem.getXXX[/ICODE] rather than [ICODE]elem.XXX = YYY[/ICODE] might cause failures in some browsers. | |
Re: Just grab hold of the field values using either [ICODE]document.getElementById('elementId')[/ICODE] or [ICODE]document.forms['frmName'].elements['elementName'][/ICODE], store it in variables and compare the characters at the first index of both the strings (make sure you use trim). | |
Re: The [URL="http://developer.yahoo.com/yui/datatable/"]DataTable [/URL]component of YUI might just solve the issue for you. Planning on doing it without any library support might be *difficult*. If using YUI for datatables, make sure you redirect your further queries to the YUI mailing list. | |
Re: You can either use the RESTful approach for creating webservices or just use the SOAP stack. [URL="http://www.netbeans.org/kb/60/websvc/rest.html"]RESTful [/URL]approach shouldn't require anything more than a server side language along with a container (Tomcat and the likes if using Java) while using the SOAP approach would require you to use something along … | |
Re: Does a minimalistic servlet example work in your case i.e. one which just outputs 'Hello world' to console? How are you deploying your applications? What is the directory structure of your web application? Are you overriding any classpath settings? Does your environment variable contain any entry other than JAVA_HOME? Without … | |
Re: Since the data is already stored in session, why get JSP's involved with the mailing process. If your site is authenticated, you already would have the user credentials when processing the request. The only task which remains is the formatting of the content. Also, when sending plain text mail, you … | |
Re: > String ip = "10.23.14.5"; //the ip of the database, in your case it would be localhost Prefer configuration over code; the URL for the database along with the database name almost always comes from a configuration file. Also for database intensive applications/operations, consider using a Connection Pool instead of … | |
Re: > I highly doubt all the 6,500 financial institutions they support have API's to access. Why so? Considering it's money business, I wouldn't be too surprised if mint.com has a way of talking with all of them and that too legally, of course under a sound contract. Anyways, how do … ![]() | |
Re: Some from my side: • People who think that the only purpose moderators exist for is to clean their crap and help them out with each and every problem they post since it's *urgent*. • The pointless topics in the Geek's Lounge which keep on screwing with *Gawd* over and … | |
Re: > i want to develop a code such that when i click on the text next to the radio button the radio > button should be selected and even if the button is clicked You don't need Javascript for this; use the HTML [URL="http://www.w3schools.com/tags/tag_label.asp"]label [/URL]tag. [code] <p>Try clicking on the … | |
Re: Well [B]flaco [/B]both you and I have learnt a lesson from this thread....whenever in need of some [I]expert [/I]psychological assistance we can always turn to [B]Aniseed, Matty, Junyah...[/B] :D But seriously, I ain't gonna rant but will just quote some quotes: [quote]Pity is for free but envy must be earned.[/quote] … | |
Re: You need to take a look at [URL="http://www.w3schools.com/CSS/css_pseudo_classes.asp"]CSS pseudo classes[/URL]. BTW, this question belongs to the CSS section if this task needs to be achieved only using CSS. | |
Re: > All the tutorials and articles I've found so far about ADDING nodes -- not clearing text from > a node. Maybe something along the lines of: [code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Script-Content-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Example</title> <script type="text/javascript"> // Error checking omitted … ![]() | |
Re: Maybe something like [code] #include <iostream> using namespace std; class hello { private: char array[4][5]; public: hello(); void get_hello() { cout << "From the function: array[2][2] = " << "'" << array[2][2] << "'" << endl; } } hi; hello::hello() { [COLOR=Blue] for (int i = 0; i < 4; … | |
Re: [URL="http://www.w3schools.com/js/js_obj_math.asp"]Math.random()[/URL] along with the article on[URL="http://eternallyconfuzzled.com/arts/jsw_art_rand.aspx"] generating random numbers[/URL] should get you going. Even though the article uses C/C++, adapting the algorithm to Javascript shouldn't be a big problem. |
The End.