5,277 Posted Topics
Re: Your site didn't load for me so I could not see the header. But to answer question 2, simply apply a border-top of 5px, but transparent. That way the 5px is already taking space , but you can see it. When you hover, the color will simply change but the … | |
![]() | Re: >What can I do about this. I need these ids as references to fields in my db. How do I send this to the db ensuring the user's have not tampered with it. Do I have to store these in a $_POST[] field? When the form is posted, you will … ![]() |
Re: The "speed" of a network card is generally categorized in either Megabits or Gigabits per second. It's very common these days to find that your computer has a 1 Gb/sec card (wired). Of course, the network that this card is plugged into would have to be able to support that … | |
Re: You can accomplish this using several methods. Here is a quick an easy one, i think... you will need jQuery though. assign your button an id='edit'. <input name="Button1" type="button" value="edit" class="auto-style12" id="edit" /> <script> $(document).ready(function(){ $('input[type=text]').attr("disabled", "disabled"); $('#edit').click(function(event){ event.preventDefault(); $('input').removeAttr("disabled"); }); }); </script> What this script does is that upon … | |
Re: In Device Manager, Disk Management, do you see the disk listed there, possibly as a "foreign disk". If so, you simply need to import the disk. | |
Re: In the event you had more than one form, you can check to see if a particular input elment of type "submit" executed the post. For example.. <?php if(isset($_POST['submit'])) { // input with name=submit was clicked. // do stuff; } ?> <input type="submit" value="Submit" name="submit" /> | |
Re: Take a look at this article. Its for a listview instead of gridview, but I suspect that you should be able to use the same approach. http://www.aspsnippets.com/Articles/Find-and-access-controls-in-EditItemTemplate-of-ASPNet-ListView.aspx | |
| |
Re: So based on your description, you want to integrate this cheet.js into your code? You have to download the files and integrate the scripts by placing these into the <head> section of your page...of course referencing the correct path in your folder structure. Then follow the documentation provided on that … | |
Re: There is quite a bit of code you posted, i dont see where you call the javascript function. In any event, I would suggest you take a look at this thread. It is very similiar to what you need with regard to calculating within a row, client side. http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/467834/auto-calculate Demo … | |
Re: Use the first sample code you have above and assign each div a class of "course". Then use the sample code pritaes provided. That code will work. When you click on a div, only the div within that div will be displayed and then hidden again on each click. <style> … | |
Re: It would help to see the actual HTML that is received by the browser rather than the jsp code. Load the page right click view source. | |
Re: Hello mattyd, Can you explain what this is representing and what it is used for? There is no HTML element called "name". `<name="country" id="country" size="23" />` | |
Re: How is this being posted? Are you allowing users to upload content? Do you have any filters in place to prevent this? ![]() | |
Re: To resize the divs to match that of the largest height, you can do so via javascript. You simply need to gather the various heights and determine what the largest value is. Then take that value and apply a new height to the other divs. Here is an example... [Dynamically … | |
Re: You may need to be patient on this one. I would love to assist, but I have no working experience with MVC, only web forms. Hopefully, another member at the asp.net mvc guru level can help you with this one... | |
Re: You simply include it in your aspx page like you would any other HTML element. Can you clarify what the issue is? | |
Re: feel free to post what you changed or any other info that may help someone else with a simliar problem. | |
Re: So what it is you are asking for exactly? You want to send the values via AJAX? Ok plain old JavaScript AJAX or are you using a library such as jQuery? What have you tried, what isnt working for you? ![]() | |
Re: You could store the start and end date in one of your db tables, or another data source such as an xml file. Then when the page is loaded, using php code, check the current data and see if its within the start and end date that you are storing. … | |
Re: There are different ways to do this. If you want to open what looks like a window, but really a div on the same page, what you would do is have that div with a display:none; when the page first loads so you dont see it. when you click on … | |
Re: Can you elaborate a bit more on what you are trying to do and what the problem is? so far what I understand is that you have an iframe on your page and there is some sort of post back that is occuring? | |
Re: You can use the ToUpper() or ToLower() on the input and then compare it to the correct answer in that same case. For example... if (answer.ToLower() == "abu bakr") | |
Re: >I have removed the hard drive from the laptop but it doesnt seem to have any switches on it to set it to slave. those switches you are referring to are found on parallel ATA (PATA) drives. I would think that this drive you have in your hand is a … | |
Re: Yes, sure. I dont see why. When you access this page, the PHP engine converts it to html markup and sends it back to the browser. So I dont see why the concern about the PHP echo'ing. | |
Re: >how to refresh advertisements after every 2 sec in website using php You would have to handle this client side because if you want PHP to take care of it, then the page would have to be reloaded every two seconds. That's not going to work. You need to do … | |
Re: I don't see a problem with having a text file on your web server and then you retrieving that text using javascript/jQuery AJAX. Can you elaborate regarding the risk you read about? ![]() | |
Re: Image preview? You should be able to build something easy. The general idea is that when you hover over an element, you want some image to show somewhere. Take a look at this [Javascript thumbnail viewer](http://www.itgeared.com/articles/1501-create-simple-javascript-image-thumbnail-viewer/) example. When you hover over the thubmnail (in this case its an image, but … | |
Re: >I would like to access each folder from my website but i only got the 123456 as reference in my database (mysql). you dont know or have no reference to the rest of the folder name? How are these folders created? >Is it possible to get php to open the … ![]() | |
Re: Here is the link for the "Member badges" thread that when clicked, results in a soft 404 page. http://www.daniweb.com/community-center/daniweb-community-feedback/threads/472741/member-badges | |
Re: I noticed that the div that contains the list of locations has a class assigned called "lightcontainer". Why dont you just modify the CSS file (css/responsivegridsystem.css), line 488 and update the background color there... .lightcontainer { background: #f90105; padding-left:5px; padding-top:5px; } | |
Re: >I've checked that ASP is installed Are you absolutely sure that ASP is enabled? Go to: Server Manager ---Web Server (IIS) ------Add Role Services Select these role services.. -ASP -Request Filtering -ISAPI Extensions | |
Re: I didnt see any issues other than it shifting to the left-right. If this is what you are talking about it is because some of your pages do not fit within the viewport so the scroll bar appears on the right side of the screen. when that happens, things shift … | |
Re: Publishing is the recommended approach. However, there is an alternative to the publish option. You can copy the required files manually via FTP. Take a look at some of these links: http://www.w3schools.com/aspnet/mvc_publish.asp Also discussed on an asp.net forum thread: http://forums.asp.net/t/1636237.aspx | |
The End.