- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
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 … |
|
I need to suspend processing in my script for a few seconds, and i am not sure how. Thanks, sj |
|
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: … |
|
Hey All I have a multi-line text box that tells the user to perform an action. When the form loads, as the text box is the only control on the form, it is highlighted. This may be a silly question, but is it possible to disable the text box from … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
hi sir, i have a textbox and loginbutton in first form and wen i click on a valid id in 1st textbox wch is in the database and click on loginbutton it should show the details of that id in the next form which consists of textboxes and a modify … |
|
Hi, I tried to use the following code to prevent duplicate execute of my program, i pub this in the form_load event procedure: Process[] processes = Process.GetProcessesByName("C"); foreach (Process p in processes) { MessageBox.Show("Can't duplicate run this program,it is already running in the background.", "can't run again", MessageBoxButtons.OK, MessageBoxIcon.Error); this.Close(); … |
|
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 … |
|
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 … |
|
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 … |
|
I have 3 SELECT elements, one of which contains text and the other two numbers. Values in all 3 selects are generated dynamically from ASP. The Option elements in the selects are being added by a Javascript Code like below [Code] var newOpt ; newOpt = document.CreateElement("option"); newOpt.text = <%=Value%> … |
|
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 … |
|
I am in in the process of adding mediawiki to a sever that already has Apache and php installed. |
|
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] = … |
|
Is there ANY method to delay the loading of 3rd party javascript advertisements until the rest of the page has finished loading? When my ad server gets sluggish, it delays the output of my site, which is killer. And yes, I already know about using position:absolute to place the JS … |
|
hey. I'm trying to get a grasp on XML for use with AJAX. here is my code. what i want to do is grab the stuff between the 'content' tags, and display it. then i want to take the stuff between the 'script' tags, and eval it (so it will … |
|
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 … |
|
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 … |
|
As far as I can see, the following should work even on Netscape 4, but it doesn't. Can anyone tell me what I'm doing wrong? [code] <style> @media screen { .NotOnScreen { display: none; } } </style> On screen <span class="NotOnScreen">Not seen</span> More on screen [/code] |
|
Can this be done with java.io? Thanks, sj |
|
OK...here's the background: I want to use javascript to write a CSS dropdown menu. Since I want to be able to float the menu to either the left or the right depending on the site I am using it on, I need to grab the float value (either right or … |
|
I'm having a slight issue with a lot of html pages. I'm working for a decent sized company with nearly 15,000 pages in the site. I've been going through and updating many of the pages with a find and replace function available through Dreamweaver. Recently I've noticed a huge problem. … |
|
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 … |
|
Hi , Good morning. Well, I had a need where the content page was by default loading scrollbars and body scroll="no" not getting effected i added color to the scrollbars to match the background and now it is working fine in the IE. But the thing that makes me go … |
|
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 |
|
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 |