No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
I'm working on a site and I want to give the users option to change the background image. Of course client-side. My default background-image is put in CSS file. [CODE]body { background-image: url(images/back.jpg); overflow: visible; width: 1260px; }[/CODE] I've tried to make some javascript trigering the change [CODE]var img = … | |
Re:
Hi, I need to replace "Link Text" with the value in the variable (myNewString). myNewString is just text e.g hello code document.write(myNewString); <a href="welcome.html">Link text</a> i need some thing like the below or even a php version of it <a href="welcome.html">(myNewString)</a> --this syntax is incorrect it seems THANKS!!!!!!!! | |
Re:
hey... I know this is real easy to do and all... but I just can't remember how to do it... I have a textarea named 'code' and a completely empty div [CODE] <div> </div> [/CODE] the textbox get's filled with html code... (dynamically of course) and now I need to … | |
Re:
I'm trying to trap a user entry that cannot be found in the database. When a code is entered, the page should give a "Code Not Found" message if it is an undefined value. However, it didn't; and it always shows the "undefined" value to the page instead. I'm really … | |
Re:
In another thread I found that a good way to show and hide parts of a form based on previous entries would be as follows: [CODE] function showhidefield (method) { var hideablearea = document.getElementById("hideablearea"); var hideablearea2 = document.getElementById("hideablearea2"); var hideablearea3 = document.getElementById("hideablearea3"); switch (method) { case "1": hideablearea.style.display = 'block'; … | |
Re:
Hi, What i want is: I have a textarea. When user selects some text and presses a button "[smth]" is added to the begin and end of selected text. How can i do this? It must work on all browsers. The same thing makes daniweb when you format a text … | |
Re:
Hello any one please tell me how to select and unselect all images in javascript just like checkboxes | |
Re:
Hello All, I have a simple question How do i get a variable from one function into another function. I am new to javascript. Here is my code[CODE] function timestart(that) { var x = new Date(); that.value = x; } function timeend(that) { var y = new Date() that.value = … | |
I am new to Daniweb, but I have browsed the forum here for a while and it has often solved problems of mine, so now that I encountered a pickle which I cannot seem to solve in a satisfactory way using only googling, I'm asking for some hands on help: … |