15,127 Topics
| |
Hi peeps, I wonder if you can help me at all. I am recreating a simple design, just doing some testing really, and what I am trying to achieve is to hide and show the navigation on the left side, here's the website: http://antobbo.webspace.virginmedia.com/various_tests/worktest/test.htm So ideally when i click on … | |
Hello, Iv been working on a project in java and i want to implement an export to HTML 5 feature. I have looked around and not seen many useful discussions on how to implement this feature. A number of software products i looked into such as scirra construct and adobe … | |
how to input a code snippit to a textarea and how to preview it using syntax highliting in a html page? | |
Hi, I am trying to change background image of my div but its not picking up style of background image that I am setting from javascript. So can anyone help me out? Thanks in advance. Here is my code: <HTML> <script language="JavaScript"> NUMBER_OF_IMAGES = 3; ImageNames = new Object(); ImageNames.length … | |
Hi, I'm using a javascript messagebox, but i'm having trouble with the delete: <html> <head> <title>AdminstraĆ§Ć£o</title> <!----------------------------------------------> <script type="text/JavaScript"> function confirmDelete() { var agree=confirm("Tem a certeza que quer remover?"); if (agree) { return true; <?PHP $del="DELETE FROM content_lang WHERE id_content = '".$row_lang['id_content']."'"; $q_del=mysql_query ($del, $connect); ?> } else { return … | |
I am building a small quiz app and the choices are all list items (li) In jQuery or javascript how would I be able to allow the user to select one answer (it is ok if I need to add an 'a' tag) and then when they click submit (which … | |
i m trying to make a multiple level slide in-out menu in juqery.. i m able to open one div.. but not able to hide open div and show the clicked one.. this is my work.. click menu1 only working.. when i click menu2 everything goes work.. please have a … | |
<html> <head> <!--Load the jquery lib --> <script type="text/javascript" src="jquery-1.7.2.js"></script> <!--Use jquery --> <script type="text/javascript"> $var = 1; </script> <script type="text/javascript"> $(document).ready(function(){ $('#cont').click(function(){ $('<p />').text("hye").appendTo($('#cont')); }); // $('p').live("click", function(){ // if($(this).text() == "Good...1") // $(this).empty().appendTo($('#myDiv')); //}); }); </script> --> </head> <body> <!-- <div id="myDiv"> <p>Hello world!</p> </div> <a href="#" id="myLink">Change … | |
Hi, I have a HTML structure like this: <div> <div id="a"></div> <div id="b"></div> <div id="c"></div> </div> I know the ID of an element (let's say it's #b), and i need to know which index it has in the parent div. In this case that would be 2. How do i … | |
i created a jsp page and put a javascript code " window.onload=func(); " in the header when the page is loading.In that func(),i set two objects to the session (using AJAX) and get them back into the jsp.After debugging the aplication everything is ok.but jsp page doesn't display the content … | |
Hi, I got a problem. I'm new to $ and i want to make a div to be displayed 3 seconds after the page loaded but i want it displayed on the desktop( behind the webpage). I made the part where the div slides from the right-bottom corner but i … | |
**Hey i'm creating basic a shopping cart for a uni project, everything works however when I select the view cart button on my html page it appears, however if i select it repeatedly, the table creates a replica table below and does this everytime I select my button so I … | |
Hi! I have a form (which is in html(the rest of my coding done in PHP)) that prompts user to choose image, type in title and choose status and after pressing confirm button script uploads image and its details to MySQL database. I'm trying to fade whole screen or disable … | |
i am working on advert website .In which i need to impliment advertisement impression logic.Can anybody tell me advertisement impression logic. | |
I have a condition based upon which I require that the AJAX HTML Editor gets disable. This code is not working: edNote.Enabled=false; //edNote is AJAX editor. Please suggest any other means to do this. | |
how to open the multi content pop up's ,below code showing button1 content only when i cleick the second button top <div class="buttons"> <button type="button" id="btnShowSimple" value="Email" class="positive" > <img src="../css/bmail.png" alt="email"/> Email </button> <button type="button" id="btnShowShare" value="Share" class="positive" > <img src="../css/share.jpg" alt="Share"/> Share </button> </div> <div id="model"> <div id="output"></div> … | |
So if anyone is or has used the Facebook Javascript SDK to log users on to your own website....am curious. Is there some element that you can always check that it's a valid user? Because, sure, FB redirects them to the new URL once they logon. But so can Google. … | |
i have code of advertisement of a website .i want to know how can i get information on serverside for a view or a for click.i need its working for developing a advertisement web site. <script type="text/javascript"> var AdBrite_Title_Color = '0000FF'; var AdBrite_Text_Color = '000000'; var AdBrite_Background_Color = 'FFFFFF'; var … | |
| Hi, my jQuery link is not working. Its only work if I'm not using `href` attribute on that link. Currently its only functioning when I put the `URL` into `alt`or `title` attribute for example. When I put the url on `href` attribute it will not run as AJAX. Sorry if … |
Hi All I'm looking for ideas or suggestions about how to implement this feature. The concept is I have 2 dropdown select boxes, with data that is not directly related (in the sense that there is no identifiers or foreign keys or anything within the data itself) but that have … | |
Hi, I'm completely desperate for some help. I am getting a handful of reports that DaniWeb keeps crashing the web browser. Most of these reports are coming in from Firefox. Supposedly the problem is fairly consistent. I *cannot* duplicate the problem no matter how hard I've tried. I spend a … | |
Hello. I have a little problem with some work i've been given to study and i am meant to build a little bingo application. We have to modify our co-workers' code so that it fits out own little scenario. I've chosen to do a British Bingo card application and my … | |
Hi, I'm building a battleship game that has multiple sessions over an apache server. It's a server/client containing servlets & jsp's. Let's say i have a jsp page that shows all the boards, for each session i want this page to be refreshed as soon another player makes a move. … | |
Hello, > Quoted Text Here I have put 'jQuery validation' to validate a form and it validates very well n looks perfect in firefox but in chrome when I type anything in some texboxes, error messages gets incremented as much as I type characters in texboxs and my form gets … | |
Good day! I need help.. I have to check if the textbox value is in the dropdownlist items, and I don't know how to get this in javascript. I wanted to validate it in such a way that if the textbox value is in the dropdownlist item values, then the … | |
i have this code, it's purpose is to automatically add a colon when the index is 2, i have done it, but when replacing(overwrite) index 2 where (:) is, you can replace it with a different char, so basically colon will be removed. and also what if the user has … | |
Ok so I am trying to create a loop that creates a dynamic variable but I cant find out how to do this. this is what I have so far var map = { 'flammable': 'inflammable', 'duh': 'no duh' }; $.each(map, function(key, value) { var key = value; }); alert(duh); … | |
Basically, I have a JSP page. I want to know if the javascript is disabled or enabled. Based on that I need o display the content. If JS is enabled I need to display click to update hyperlink which will shown the firstname, lastname when clicked whereas if JS is … | |
| I would like to write a page which accepts Value of textbox / input-field using javascript. As you get values from this: <script type="text/javascript"> var cheese=1 document.write(cheese) </script> Maybe the value `cheese` could be taken from text which the user has to enter....how? |
Does anyone know a good way to force javascript to evaluate all operands in a boolean expression? In particular, what I am tring to do is essentially this: return isValid(a) && isValid(b) && isValid(c); while this technically does work, the function is responsible for highlighting invalid areas on the form … |
The End.