888 Posted Topics
Any Daniweb members from this area? What's it "like"? Job Market (for IT/programming/tech sector) - Real Estate (affordable ownership) - climate, etc. Are you from the area, or did you relocate there? | |
Re: The only way to do a POST is to submit a form. JavaScript can do that, with the [INLINECODE]Form.Submit()[/INLINECODE] method. JavaScript can also be used to set the values of the form elements to be posted. | |
Re: You cannot access elements of an array without using the square brackets, in general. That's what an array IS, a collection of elements, and you access them via the proper key, delimited by square brackets. You can [URL="http://us2.php.net/manual/en/function.implode.php"]implode[/URL] an array into a single delimited array, but then you'd have to … | |
Re: You don't, really. You serve a PHP file, not an HTML file. The PHP file you serve would have to call your function at some point, but you know that. PHP, like with other web languages, runs through a "filter" before the user gets it. The filter renders the HTML … | |
Re: Please use code tags. Please don't apply unnecessary formatting to your posts. One question mark will suffice to indicate a question. | |
Re: Please, don't apply unnecessary formatting to your posts, it makes them difficult to read, and many users will simply ignore such posts. JavaScript is client-side, and no, you cannot create files on your users' drives. The only exception is the Cookie mechanism. | |
Re: [URL="http://www.google.com/search?hl=en&q=ASP.NET+password+encryption&btnG=Google+Search"]http://www.google.com/search?hl=en&q=ASP.NET+password+encryption&btnG=Google+Search[/URL] Always start with a search engine, do some research, and then come back with specific questions if necessary. Explain what you know, what you think you know, what you've tried, and your question. There is no reason for your post to be in red, so please refrain from unnecessary … | |
Re: Amen. I've always been mystified by SEO fanatacism. If we really have to go to extravagant lengths to get an engine to notice/index our site, then doesn't that highlight a flaw in the search engine? Rather than acknowledge that and address the flaw, search engines in general and Google in … | |
Re: This isn't an HTML/Javascript/CSS question, though, such a project could have HTML elements. You're right, Web-browser Javascript doesn't interact with databases. Other products, though, could include their own JavaScript engine (for example. Adobe Acrobat has a Javascript parser and DOM). Many professionals use [URL="http://www.macromedia.com/software/director/"]Director[/URL]. Many also author HTML, with embedded … | |
Re: Perform an insert query. "how can i save them as"... save [I]what [/I]as [I]what[/I]? | |
Re: What you've done is exactly correct: you've implemented the "Adjacent Sibling" selector (the plus sign) and the CSS2 "first-letter" pseudo-class. It should work perfectly, and does in FireFox. What you've discovered is yet another IE bug: it doesn't support Adjacent Sibling Selectors. You might say that IE is a pain … | |
Re: Sure, it's possible, but I strongly recommend against it. Users find such non-intuitive features extremely disagreeable. If you want to pursue it, research "JavaScript scrolltop" to point you in the right direction. The issue is this: when thousands of users visit hundreds of thousands of pages, and the vast majority … | |
Re: [quote=cutepinkbunnies] I plan on placing all the files in the same directory so structure won't be a problem, and I hope to use the ['ProdNum'] value from the database to identify the filename via variable. How would you suggest doing this in a feasable manner? I could type each url … | |
Re: Please use code tags. Please post in the [URL="http://www.daniweb.com/techtalkforums/forum18.html"]correct forum[/URL]. | |
Re: [code]alert = document.getElementById("divObjectId").style.display;[/code] | |
Re: The problem is related to absolute vs. relative positioning. "Absolute" doesn't really mean "absolute", it means, "relative to the nearest parent element which is absolutely-positioned, but disregarding that parent element's content". A mouthful, I know. What's happening is... equally hard to explain. An experiment helps. [code] #leftMenu ul li img … | |
Does anyone have a good example of how to use this method? All of the MSDN examples I could find are useless because: [LIST=1] [*]they show a hard-coded size for the byte array [*]they show writing the output to the Console[/LIST] Ridiculous. I have a file that contains some binary … | |
Re: There are two searches that can be done, the web itself, or the site. If you search the web, the results appear on a google page framed by the site. | |
Re: Very ugly! Great, one more OS/Browser combo to add to the mix when coding sites. | |
[B]Brief Summary[/B] I've written a Windows Service. It uses Process.Start() to launch a Console Application. The console application performs a File.Copy(), to copy a file from the local file system to a network share. [COLOR=Red]Problem: [/COLOR] The file copy fails. I get an exception that tells me "part of the … | |
Re: You would use the various methods and properties of the Date() object to return just the portions you need: [url]http://www.w3schools.com/jsref/jsref_obj_date.asp[/url] Or, you can use JavaScript's String() ojbect or RegEx to modify the string you display. | |
Re: Internet Explorer has had a long-time bug with select elements and z-index. Talk to your mod "Troy" about it, I know he's done a lot of research and has developed some workarounds. | |
Re: The two major browsers, in conjunction with a properly-declared doctype, have two different Event models. I'm not sure that you want to handle every keystroke. A regular expression might be the better way to validate this. In any case, something like this: [code] function key(e) { var keycode; if (navigator.appName … | |
Re: Hyperlink an image. [html] <a href="http://www.jscode.com/js_auto_bookmark.shtml" alt="bookmark"><img src="myImage.gif" alt="bookmark" /></a> [/html] | |
Has ASP.NET 2.0 introduced a simplified data control for displaying parent/child data? Imagine a HelpDesk application, where you want to display all the "open tickets". I can see how you'd use a GridView for that. However, each row in the resulting table should have the ability to, when clicked/selected show … | |
Re: You have to specify an input element of type "file", and then you have to have server-side code to handle the uploaded file. One without the other is meaningless. Which server-side language do you use? | |
Re: Well, you don't show any DOCTYPE, so we, and your browser, have no idea of which Document Object Model to use. "document.Textbox" may or may not be meaningful in any particular browser's default HTML version/DOM. You simply must declare a proper DOCTYPE, and then work within that Object Model. Both … | |
Re: You want to add a CD to your site? I'm sorry, I have no way of answering that question... I don't even understand the question. Start over... | |
Re: That would require cross-browser scripting, and that's something you couldn't force on another site. Sorry, not possible. | |
Re: You need to access and modify the style collection. [INLINECODE] document.getElementById("nm1Textbox").style.color = "red";[/INLINECODE] | |
Re: The "document.write" statement is deprecated in most new doctypes. However, with a loose (or no) doctype, this should work. Where is the script running? It needs to run in the <HEAD> section of your page. Give us a link? | |
Re: 1. Select the text you want hyperlinked. 2. Click the hyperlink control widget. 3. Click "OK". | |
Re: Post in the ASP forum. There's nothing you can do with HTML or client-side script. | |
Re: That's forum BBCODE, not HTML. So I'll assume you mean exactly what you say, and you need to know how to place a hyperlinked image within a forum message: Just nest them: [http://www.tgreer.com/tgroup.png](http://www.tgreer.com) [URL="http://www.tgreer.com"][IMG]http://www.tgreer.com/tgroup.png[/IMG][/URL] Of course, the same works with regular HTML: place your *img* tags inside your *anchor* tags. | |
Re: You might be able to place a validation object in the datagrid. If that doesn't work, you'll have to write a Javascript script to iterate through the controls. With ASP.NET, it's best to not fight it and do everything server-side. Sad, but true. | |
Re: "circleLayer" is defined inside conditionals, and none of your conditionals test for FireFox. You only test for Netscape and Internet Explorer, based on deprecated DOM objects (document.layers). Your page is also missing a DOCTYPE declaration, so no test is really going to be valid, and no code will be dependable. … | |
Re: I think these are a little off, though close. First, the link you posted is wrong! [html]<a href="somepage.htm</a>[/html] Should be: [html]<a href="somepage.htm">Link to somepage</a>[/html] If you want a Javascript function to run when the user clicks the link, you code the "onclick" attribute: [html]<a href="somepage.htm" onclick="myFunc();">Link to somepage</a>[/html] Now, here's … | |
Re: When serving ANYTHING over the web, mime-types come into play. You're telling the server to tell the browser that you're serving this-type-of-file, and the browser decides, based upon the user's configuration choices, how to handle that file. I can't think of any way you can force your users' browsers to … | |
Re: This is about the 5th post you've made on this topic. I understand how frustating it can be when no one answers your question. There might be valid reasons why you don't get an answer. I, for example, don't know PERL, and I also tend to skim past messages with … | |
Re: I'm trying to understand what problem you have. Are you saying that you don't know how to format the "script" tags? Or that you don't know what to put in the "src" for the tag? | |
Re: Yes, the problem is that the border underlines the complete "box" that the H2 would normally fill. The image comes along and alters the text, but the border is already drawn and ignores that. It's a small rendering problem, same would say a bug. The fix is to force the … | |
Re: You don't. Forms are meant to be processed by a server side language, which will process the results (store them in a database? do calculations with them? etc.) and return a new HTML stream. HTML itself CANNOT process a form. So your action tag, submitting back to an HTML file, … | |
Re: That's one error... see if that fixes it. Since you haven't posted any code, and we can't save the "complete" page, with graphics, etc. it's hard for us to experiment/troubleshoot. If that doesn't fix the issue, I'd start experimenting with the "display" CSS attribute. | |
Re: This isn't an HTML/JavaScript question. You should ask in the appropriate server-side forum for whichever server-side language you're using. | |
Re: What kind of "idea" do you need? No one here is going to code this for you. My idea would be: get started. As with any application, start with the data model. If you don't know what a data model is, or don't know how to code ASP.NET, I would … | |
Re: Because JavaScript isn't strongly-typed... and the default type of textboxes and labels is a string. | |
Has anyone played with the ASP.NET 2.0 Menu control? Most of the samples I see deal with the SiteMapPath and Master Pages. Can this control be used for a simple DHTML-style dropdown menu? Like the suckerfish menus, or functionally equivalent to daniweb's main menus? One would think so, but the … | |
Re: Every major browser has a built-in JavaScript interpreter. You don't have to "download it" from anywhere. You may have inadvertently turned it off - check your various security options in your browser. | |
Re: You've double-posted this. Please stick to one thread. Since you've asked this in ASP.NET and I've already responded there, perhaps the VB.NET moderator could close/delete this thread? |
The End.