15,121 Topics

Member Avatar for
Member Avatar for sam230

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 …

Member Avatar for Sky Diploma
0
95
Member Avatar for Majestics

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

0
83
Member Avatar for Buppy

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 …

Member Avatar for pritaeas
0
83
Member Avatar for divsok

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 …

0
86
Member Avatar for easterbunny

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 …

Member Avatar for JorgeM
0
175
Member Avatar for brightonstu93

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

Member Avatar for Airshow
0
216
Member Avatar for vindom

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 …

Member Avatar for vindom
0
307
Member Avatar for daniel36

i am working on advert website .In which i need to impliment advertisement impression logic.Can anybody tell me advertisement impression logic.

0
110
Member Avatar for coder389

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.

Member Avatar for coder389
0
177
Member Avatar for esoftwall

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

Member Avatar for moyk
0
500
Member Avatar for SergioQ

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

0
66
Member Avatar for daniel36

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 …

0
195
Member Avatar for ping0ping

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 …

Member Avatar for ping0ping
0
167
Member Avatar for |-|x

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 …

0
100
Member Avatar for Dani

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 …

Member Avatar for neatric
0
440
Member Avatar for subtlehulk

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 …

Member Avatar for JorgeM
0
4K
Member Avatar for elya158

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

Member Avatar for johannsig
0
1K
Member Avatar for h2so4_2003

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 …

0
60
Member Avatar for jbutardo

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 …

Member Avatar for code739
0
191
Member Avatar for azareth

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 …

Member Avatar for azareth
0
2K
Member Avatar for itisnot_me

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

Member Avatar for itisnot_me
0
196
Member Avatar for vgutta

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 …

Member Avatar for |-|x
0
78
Member Avatar for HTMLperson5

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?

Member Avatar for code739
0
15K
Member Avatar for |-|x

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 …

Member Avatar for |-|x
0
427
Member Avatar for klemme

I have this succes message that the visitor sees after submitting the contact form via ajax using jquery: My question is: How can I first fadeIn the image, and then "500 later" fadeIn the rest of the text that is appended after the image? -Now it fades in all at …

Member Avatar for Example
0
218
Member Avatar for samxa

hey, i'm looking for a simple script that will display 3 images in the same page as the upload button is present in. would be great if you help me with this. thanks a ton!

Member Avatar for Example
0
58
Member Avatar for Nassarofficial

am new at querying, I wanted to change the code below to query my data for the "Date" column, "population", and "education". In the continuation of my code, I have 3 checkboxes to filter out the data pertaining to the date, and the selector to select which color coding and …

0
84
Member Avatar for mariaceline_21

error Please select an imageError: Duplicate entry '' for key 'img' ` //file properties $file = $_FILES['image']['tmp_name']; if(!isset($file)) echo "Please select an image"; else { $image = addslashes(file_get_contents($_FILES['image']['tmp_name'])); $image_name = addslashes($_FILES['image']['img']); $image_size = getimagesize($_FILES['image']['tmp_name']); if($image_size==FALSE) echo "That's not an image."; else { { if(!$insert = msql_query("INSERT INTO shop (id, img, …

Member Avatar for vibhaJ
0
151
Member Avatar for utroda17

Hello, I'm trying to load ad on my site dynamically and I can't seem to get it to work... Well I can get it to work using vanilla javascript, but not with jquery & I would like to use jquery if possible. thisAd = $(oAds[i]); sPos = thisAd.attr('data-adname'); // if …

0
59
Member Avatar for bdolla

Hello - I'm looking for advice on the best way (or possible ways) to set up a project for work. I have access to our companies internal web server (for employees), and a MS access database that all users have access to, located on a shared network drive. I need …

Member Avatar for JorgeM
0
197

The End.