Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
~22.4K People Reached
Favorite Tags

45 Posted Topics

Member Avatar for Sailor_Jerry

I am using Ajax to load the content of a div element. I have a call back function that I want to use to scroll to the appropriate element, after the data has been loaded. I also have the id of the element I want to scroll to. Most of …

Member Avatar for vinhsoft
0
237
Member Avatar for Sailor_Jerry
Member Avatar for akmr
-1
7K
Member Avatar for Sailor_Jerry

What's the proper format? Also does anyone know where i can find a good CSS online reference besides W3Schools? Current Code. [code] .className td {border: 1px solid #CCC;} .className th {border: 1px solid #CCC;} [/code] i want to save some characters... would this be valid? [code] .className td th {border: …

Member Avatar for Arkinder
0
237
Member Avatar for CanYouHandstand

Ok so if have this same problem. I'm using textbox to allow users to enter notes which is saved to the DB. When a users selects a customer to view their notes, all the text in the textbox is highlighted when the form loads. I'm afraid they will mistakingly delete …

Member Avatar for Amit.Tank001
0
3K
Member Avatar for Sailor_Jerry

I have a DataGridView which I AllowUserToAddRows behavior enabled. I want to be able to force that only one row be added at time, then if the user clicks the save button the row is inserted into the database, and then another row may be added if the insert was …

Member Avatar for kouroshnik
0
685
Member Avatar for Sailor_Jerry

Can someone provide sample code on how to create and fill a DataTable with the table schema and data from a mySQL database? I found examples where you set up columns and other information programmatically. But i wanted to know if there a way to "sync" the schema in the …

Member Avatar for Sailor_Jerry
0
178
Member Avatar for Sailor_Jerry

I have a dataGridView with 4 columns. 3 of the columns i want to use a combobox. In the datagridview properties from the design view i already set the columns to DataGridViewComboBoxColumns. how do i from the code set the columns values from a dataset? I can get the data …

Member Avatar for Sailor_Jerry
0
2K
Member Avatar for Sailor_Jerry

I get this script error “Invalid argument” when using appendChild(). When in Microsoft Visual Studio Debugger I see “htmlfile: Invalid argument”, and the line it blows up on is t.appendChild(n); The div I want to append the child div to is the top most div in the dom. Anyone see …

Member Avatar for ddsuresh
0
277
Member Avatar for Sailor_Jerry

I have 3 tables. Company, phone, companyPhone. The company table has an auto_increment companyID primaryKey The phone table has an auto_increment phoneID primaryKey The companyPhone table row is made up the companyID, and the phoneID. On my form the user will enter company information and the company phone number. After …

Member Avatar for Sailor_Jerry
0
143
Member Avatar for Gangadhar619

I have a similar issue. I have modified my call to Application.run in the program.cs file, so that it is not responsible for the thread. [code] frmLogin login = new frmLogin(); login.Show(); Application.Run(); [/code] The issue I have now is after I log in the second form displays, but the …

Member Avatar for Diamonddrake
0
219
Member Avatar for danielc

I have a similar issue, but my users are not actually starting the program. There is a shortcut to the program in the windows startup folder. After a few days of running the program will have multiple processes. What could be causing this if the users are not actually clicking …

Member Avatar for hassan-golab
0
3K
Member Avatar for Sailor_Jerry

I am using IBM Websphere, and from here i can just click Run As java application, and the program runs inside websphere. But i want to run the program outside IDE. I created a jar file and everthing is correct with it. It has the MANIFEST.MF and all. So what …

Member Avatar for jasimp
0
114
Member Avatar for Sailor_Jerry

Someone gained access to two of my clients computers systems this week. On both systems some shady ebay and paypal transactions took place. the computers have PC Anywhere installed and vnc and I changed the authentication for both programs on both systems today. Is there a chance they used something …

Member Avatar for Sailor_Jerry
0
116
Member Avatar for Sailor_Jerry

Is there a way using javascript to grab the height of a div. The issues is that when I render my html page I have a div with a set size. It only takes up about half of the screen. When the content in that div is too large, the …

Member Avatar for MidiMagic
0
209
Member Avatar for aparnesh

after this: newOpt.text = <%=Value%> ; you can then check the innerHTML of newOpt var. Will the <%=Value%> always be in string format? If not you can use isNaN() which will return true if passed a string. If it's false then just set the className of the option to your …

Member Avatar for aparnesh
0
145
Member Avatar for Sailor_Jerry

I have apache in this dir C:\Program Files\Apache Software Foundation\Apache2.2\ and Mail.php and PEAR.php are in this dir C:\php\PEAR\pear When I add the files to the dir the log file is complaining about below, the wiki spits out the following: [code] Could not send confirmation mail. Check address for invalid …

Member Avatar for Sailor_Jerry
0
217
Member Avatar for Sailor_Jerry

I am in in the process of adding mediawiki to a sever that already has Apache and php installed.

Member Avatar for jbennet
0
91
Member Avatar for Sailor_Jerry

Is there a javascript function that will reload a dom element if given the element id? I am using javascript to update a divs innerHTML with the location of an image. Cut of the javascript code below. [code] var images = new Array(32); images[0] = "<img src=\"images/album/1.jpg\" />"; images[1] = …

0
83
Member Avatar for Dani

Try adding the "defer" attribute to the end of your script tags. i.e.(<script type='"text/javascript" defer>your javascript</script> With this attribute, the code inside the script tags will only get executed when the page has been loaded completely.

Member Avatar for Sailor_Jerry
0
147
Member Avatar for AndrewSmith

Your getting that error because that property does not exist on the XML document. You must first parse the document before you can access the DOM. Once you do this your code should work. Here is some info on parsing an XML document: [url]http://www.w3schools.com/dom/dom_parser.asp[/url]

Member Avatar for Sailor_Jerry
0
102
Member Avatar for Sailor_Jerry

I have two css classes. ".test1 and .test2" Can anyone explain what this code is doing? [code] .test1{height: 100%; clear: both; border: 1px solid #999;} .test1, .test1 .test2{height: 100% !important; height: 30em; min-height: 30em; } [/code] I'm thinking that all the styles in .test1 are applied to the element with …

Member Avatar for FC Jamison
0
145
Member Avatar for AndrewSmith

[QUOTE=AndrewSmith;245636]Holla I am using AJAX to load content into a section of my website. I would like the content that is loaded in to execute some javaScript. However, when i simply include it in the response, it doesn't get evaluated. Say i request a page, test.htm. That page includes ONLY …

Member Avatar for Sailor_Jerry
0
351
Member Avatar for jalarie

Your not doing anything wrong. Netscape does not support media screen in version 4. Support begins at 6.0 View the table here for more details. [url]http://www.codestyle.org/css/media/screen-BrowserSummary.shtml[/url]

Member Avatar for Sailor_Jerry
0
119
Member Avatar for Sailor_Jerry
Member Avatar for FC Jamison

This would work in ie. [code] document.styleSheets[i].rules[i].style.styleFloat [/code] rules being the line number were the actually style in question needs to be updated. rules will give you the selector text of you class name. (i.e ".test") This should work, but would break if you update any line before the line …

Member Avatar for FC Jamison
0
218
Member Avatar for ashoftheweb

You could write a program that does this. I'm sure the C++, or JAVA guys can help. Use java.io to open the files Then search for the </body></html> tags. if the search is successful move to the next file. else insert the tags at the end of the file, save, …

Member Avatar for Sailor_Jerry
0
132
Member Avatar for Sailor_Jerry

I have two html files. FirefoxBug.html [code] <html> <body> <div style=background-color:red;> <iframe src="/iframe.html"></iframe> </div> </body> </html> [/code] And iframe.html [code] <html> <body style=background-color:blue;> <div> <p>This backgroud should change</p> </div> </body> </html> [/code] I have these two files in the same folder on my desktop, and I am not sure why …

Member Avatar for Sailor_Jerry
0
110
Member Avatar for hbmarar
Member Avatar for hbmarar
0
97
Member Avatar for Sailor_Jerry

Is there a way to get this down to one line of code? [code] boolean [] myArrary = {true, false}; return myArrary; [/code] I'm trying to combine those lines into one, but I am not sure what the correct syntax would be. Thanks, sj

Member Avatar for Sailor_Jerry
0
150
Member Avatar for Sailor_Jerry

How do i return a boolean array? i get an error stating that i can't cast from boolean[] to boolean. I have something like below. [code] method logic... boolean [] information = {true, false}; return information; // this line does not work. [/code] Thanks sj

Member Avatar for Sailor_Jerry
0
167
Member Avatar for Sailor_Jerry

I need to check if two parameter names exists in the url. If any of them do i need to replace the value of the parameter. I can match the parameter name, but i am not sure how to replace the value. The two parameters/values would be at the end …

Member Avatar for Sailor_Jerry
0
60
Member Avatar for Sailor_Jerry
Member Avatar for iamthwee
0
254
Member Avatar for Sailor_Jerry

I have my div element which has a className. i want to grab the display property for this div at runtime in firefox. i have tried something like this with no luck in firefox or IE; any other ideas [code] var divObject = document.getElementById("divObjectId"); divObject.style.getExpression("display"); [/code] in ff i get …

Member Avatar for Sailor_Jerry
0
123
Member Avatar for Sailor_Jerry

i have an input element with a type of text. I want to check that only numbers are entered in the element. I also want to alert the user when they enter anything that's not a number. HTML for the element below. [code] <input type="text" id="QTY" name="QTY" title="Qty" size="3" onkeypress="key(event)" …

Member Avatar for tgreer
0
138
Member Avatar for aiden

I think the problem is with the code below. You need a space between "00" on the background style [code] #filmstrip { width: 100%; height: 23px; margin: 0; border-style: none; background: url(../img/filmstrip.gif) 00 repeat-x; } [/code]

Member Avatar for tgreer
0
121
Member Avatar for sqlchopper

Here is little example to get you started on debugging. I would place some alerts in there to see what's going on. I am not exactly sure what you’re trying to do with the line below. You already know the value of prevbal… etc. If you want to set the …

Member Avatar for tgreer
0
180
Member Avatar for Sailor_Jerry
Member Avatar for jalarie
0
73
Member Avatar for j4mes_bond25

There are many other ways to achieve the desired format. The code below should be close to what you are trying to do. [code] div{text-align:center; } div.logo{width:20%; height:5em; background-color:yellow; float:left;} div.topMenu{width:80%; height:5em; background-color:green; float:right;} div.leftMenu{width:20%; background-color:black; float:left; height:20em;} div.content{width:80%; background-color:yellow; float:right; height:15em;} div.bottomMenu{width:80%; height:5em; background-color:green; float:right;} <div class="logo"> LOGO </div> …

Member Avatar for DaveSW
0
137
Member Avatar for Sailor_Jerry

I am brand new to C#. But have about 6 months of programming experience in java. Which C# books do people prefer? Thanks

0
82
Member Avatar for Sailor_Jerry

has anyone ran into this before? The id and name had a capital letter. “submitButton

Member Avatar for tgreer
0
104
Member Avatar for Croft .L

If your html page utilizes this image on multiple pages I would move the logic to a css file. It’s also good practice You could do something like this in a css file if it were a background image or something. Just an example. [code] body{background: url(path/to/image/on/your/computer/image.gif) repeat-y;} [/code]

Member Avatar for Sailor_Jerry
0
98
Member Avatar for Sailor_Jerry

Is there a way using javascript to change the display of a form after it as been rendered? I won’t to remove a checkbox on a form if a certain condition is true. Since this case is not the norm, the default rendering displays the checkbox even though it’s not …

Member Avatar for Sailor_Jerry
0
112
Member Avatar for Sailor_Jerry

I am validating a html form. On submit I have a functions like the one below. I have seen examples like this, which is why I tried using “with

Member Avatar for alpha_foobar
0
123
Member Avatar for Sailor_Jerry

For example Class A does not have a default constructor. Class B extends A Any reason/benefits to do this? [code] public class B extends A { public B() { super(); } } [/code]

Member Avatar for proghelper
0
194
Member Avatar for Sailor_Jerry

What are the benefits\drawbacks about the design below? Here is a simple example of the possible class design. What are the benefits of doing it this way? vs. just dropping the interface class all together. ================================= Public interface Car { public String getColor(); public void setColor(); } ================================== public class …

Member Avatar for proghelper
0
202

The End.