888 Posted Topics

Member Avatar for tgreer

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?

0
39
Member Avatar for alphabravo

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.

Member Avatar for tgreer
0
105
Member Avatar for aarya

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 …

Member Avatar for aarya
0
168
Member Avatar for Dark_Omen

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 …

Member Avatar for tgreer
0
316
Member Avatar for anju

Please use code tags. Please don't apply unnecessary formatting to your posts. One question mark will suffice to indicate a question.

Member Avatar for tgreer
0
149
Member Avatar for web developer

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.

Member Avatar for tgreer
0
90
Member Avatar for sravankolla

[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 …

Member Avatar for tgreer
0
149
Member Avatar for Dani

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 …

Member Avatar for I, Brian
0
621
Member Avatar for damiokuneye

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 …

Member Avatar for damiokuneye
0
525
Member Avatar for -EMAN-
Member Avatar for tgreer
0
168
Member Avatar for j4mes_bond25

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 …

Member Avatar for tgreer
0
255
Member Avatar for j4mes_bond25

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 …

Member Avatar for tgreer
0
600
Member Avatar for cutepinkbunnies

[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 …

Member Avatar for cutepinkbunnies
0
136
Member Avatar for Fenerbahce

Please use code tags. Please post in the [URL="http://www.daniweb.com/techtalkforums/forum18.html"]correct forum[/URL].

Member Avatar for tgreer
0
99
Member Avatar for Sailor_Jerry
Member Avatar for Sailor_Jerry
0
123
Member Avatar for j4mes_bond25

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 …

Member Avatar for tgreer
0
175
Member Avatar for tgreer

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 …

Member Avatar for _r0ckbaer
0
208
Member Avatar for erez131165

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.

Member Avatar for tgreer
0
125
Member Avatar for Dani
Member Avatar for tgreer
0
217
Member Avatar for tgreer

[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 …

Member Avatar for tgreer
0
391
Member Avatar for martinkorner

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.

Member Avatar for martinkorner
0
403
Member Avatar for Dani

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.

Member Avatar for Dani
0
112
Member Avatar for Sailor_Jerry

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 …

Member Avatar for tgreer
0
139
Member Avatar for erez131165

Hyperlink an image. [html] <a href="http://www.jscode.com/js_auto_bookmark.shtml" alt="bookmark"><img src="myImage.gif" alt="bookmark" /></a> [/html]

Member Avatar for tgreer
0
198
Member Avatar for tgreer

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 …

Member Avatar for BoggyBoy
0
429
Member Avatar for jubberly

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?

Member Avatar for tgreer
0
74
Member Avatar for AhmedHan

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 …

Member Avatar for tgreer
0
101
Member Avatar for Midwestdesi

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...

Member Avatar for tgreer
0
92
Member Avatar for rbunge

That would require cross-browser scripting, and that's something you couldn't force on another site. Sorry, not possible.

Member Avatar for tgreer
0
99
Member Avatar for sqlchopper

You need to access and modify the style collection. [INLINECODE] document.getElementById("nm1Textbox").style.color = "red";[/INLINECODE]

Member Avatar for sqlchopper
0
258
Member Avatar for jiruiz78

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?

Member Avatar for jiruiz78
0
119
Member Avatar for Ancient Dragon

1. Select the text you want hyperlinked. 2. Click the hyperlink control widget. 3. Click "OK".

Member Avatar for Dani
0
198
Member Avatar for JC_2000

Post in the ASP forum. There's nothing you can do with HTML or client-side script.

Member Avatar for JC_2000
0
214
Member Avatar for flipboi15

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.

Member Avatar for tgreer
0
80
Member Avatar for vishantpatil

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.

Member Avatar for tgreer
0
45
Member Avatar for rongladd

"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. …

Member Avatar for tgreer
0
86
Member Avatar for JC_2000

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 …

Member Avatar for tgreer
0
101
Member Avatar for peter_budo

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 …

Member Avatar for Esopo
0
206
Member Avatar for manish Kishore

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 …

Member Avatar for Comatose
0
98
Member Avatar for AdamW

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?

Member Avatar for AdamW
0
77
Member Avatar for xman

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 …

Member Avatar for xman
0
78
Member Avatar for chilllax

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, …

Member Avatar for tgreer
0
59
Member Avatar for aiden

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.

Member Avatar for tgreer
0
121
Member Avatar for manish Kishore

This isn't an HTML/JavaScript question. You should ask in the appropriate server-side forum for whichever server-side language you're using.

Member Avatar for tgreer
0
51
Member Avatar for -EMAN-

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 …

Member Avatar for web developer
0
87
Member Avatar for sqlchopper

Because JavaScript isn't strongly-typed... and the default type of textboxes and labels is a string.

Member Avatar for tgreer
0
181
Member Avatar for Sailor_Jerry
Member Avatar for tgreer

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 …

0
72
Member Avatar for Sofia14

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.

Member Avatar for plazmo
0
163
Member Avatar for Viji

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?

Member Avatar for DMR
0
149

The End.