Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~28.9K People Reached
Favorite Forums
Favorite Tags
Member Avatar for george61

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

Member Avatar for Airshow
0
358
Member Avatar for howster

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

Member Avatar for Chokladkakan
0
78
Member Avatar for Tcll

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 …

Member Avatar for Tcll
0
157
Member Avatar for applemist

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 …

Member Avatar for Chokladkakan
0
115
Member Avatar for dwssassin

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'; …

Member Avatar for Chokladkakan
0
88
Member Avatar for Acute

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 …

Member Avatar for Acute
0
286
Member Avatar for Muhammad shah

Hello any one please tell me how to select and unselect all images in javascript just like checkboxes

Member Avatar for Chokladkakan
0
142
Member Avatar for jaycastr

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

Member Avatar for jaycastr
0
28K
Member Avatar for Chokladkakan

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

Member Avatar for Chokladkakan
0
131