15,120 Topics

Member Avatar for
Member Avatar for PsychicTide

Hey guys. I'm having a problem with changing the CSS of a div tag. I've done a bit of syntax/semantic research on this, but this situation seems a bit too specific to nail down. Goal: I have 4 checkboxes 1st: center text (turn off 4th checkbox if it is checked) …

Member Avatar for PsychicTide
0
230
Member Avatar for wonderland

Hi, My problem at the moment is a bit different than specified in topic title. I have an Iframe which displays .html file with js/ content slider when i click a link inside of that iframe I want for pop up window (greybox) to appear, but not inside of iframe …

Member Avatar for Airshow
0
290
Member Avatar for Dani

I have an API that supports both JSON and JSONP. Obviously, being a data provider, I want the people who request my data to cache it. However, jQuery's $.ajax() function says the following about their caching feature: >cache (default: true, false for dataType 'script' and 'jsonp') Type: Boolean If set …

Member Avatar for Dani
0
433
Member Avatar for OsaMasw

I have single input to be enterded into database I want to use ajax to do this The problem that I already have form to do something else so I can't put from inside form how can I achive somthing like this without touching the original form ![ssss](/attachments/large/3/ssss.jpg "ssss") when …

Member Avatar for OsaMasw
0
208
Member Avatar for Lucardy

Hi All, I am having trouble getting this javascript to set a cookie on any browser. Below are the two scripts I am using and if anyone can save me from this week of frustration by telling me what I am doing wrong, I would greatly appreciate it. **This is …

Member Avatar for Lucardy
0
1K
Member Avatar for php_noob

I have this code example <?php $sel_query = "SELECT * FROM tbl_name ORDER BY id DESC"; $res_query = mysql_query($sel_query); while($arr_my_array = mysql_fetch_array($res_Query)){ $cl_id = $arr_my_array['client_id']; ?> <input type="hidden" id="hdn<?php echo $cl_id ?>" name="hdn<?php echo $cl_id ?>" value="<?php echo $cl_id ?>" /> <input type="button" id="btnget<?php echo $cl_id ?>" name="btnget<?php echo $cl_id …

Member Avatar for AleMonteiro
0
191
Member Avatar for f_atencia

I need a function that allows a string to be passed in that strips out everything before a decimal place. For example, 40.00% should be 40. However, it needs to be flexible enough to check if there are no decimals and still maintain the same result. For example, 70% becomes …

Member Avatar for IIM
0
197
Member Avatar for Farhad.idrees

Hi i m checking my values from javascript functiions..i m comparing values... alert is showing that values are not euqal but but form is still submitting.....when i press submit.... java script code is <script type="text/javascript"> function validate(value) { var minimum = document.getElementById('min').innerText; var maximum = document.getElementById('max').innerText; var mini = parseInt(minimum); …

Member Avatar for radhakrishna.p
0
111
Member Avatar for matildacheng

Hi there, Hope someone can help me on this. I really need help. I have a javascript for a rotating image, whereby a total of 10 images will change automatically in every 3 seconds. It works well in a .html page, however it doesn't work in a .php page. In …

Member Avatar for matildacheng
0
568
Member Avatar for smepperson

Using Handlebars.js, I am trying to hide the first element in an array. It would be conditional to an option being true/false. Can this be done without a helper? Thanks Horizontal Menu with > as separator {{#if options.display-home}} <li class="home">{{options.home}}</li> {{/if}} /*If display-home true hide initial separator*/ {{#recursive data "menu-breadCrumb"}} …

Member Avatar for LastMitch
0
167
Member Avatar for Farhad.idrees

Hi i want to close my popup window.. how to do it? window.close() is not working.. i m showing my popup using jquery.. i want to close popup when close button is clicked.. Regards.. fahrad

Member Avatar for AleMonteiro
0
300
Member Avatar for dados

I use this function http://goo.gl/Luxkx to create Fetching Posts by Category with jQuery , but the problem is that I need pagination. For example, I have in some categories more than 10 posts. The first 6 posts show up okay, but I need pagination to show the rest. You can …

Member Avatar for LastMitch
0
451
Member Avatar for biswa2ray

I have created email account in my website(ex: info@mywebsite.com) to use it for sending clients feedback.please guide me in jsp code to solve problem.. and sorry for bothering!

Member Avatar for JorgeM
0
199
Member Avatar for dinhunzvi

i have a php associate array and i want to convert it to a javascript array. how best do i do this

Member Avatar for code739
0
160
Member Avatar for Evil_genius82

Hi All, new to Javascript and stuck on a small issue, its a little late and my head is not thinking straight. The scenerio is I have two textboxes and a submit button. All i want is the values to transfer to a function so i can change 2 global …

Member Avatar for Evil_genius82
0
124
Member Avatar for milkman93

Hey guys, In the following code I'am trying to change the shape of the box and also be able to move it around the page with the cursor keys. Here is a link to a site hosting the files: http://mobile.sheridanc.on.ca/~agnihopr/WebDev2_A3/ HTML Code: <!DOCTYPE html> <html onkeypress="boxReset()"> <head> <title></title> <meta charset="utf-8"> …

Member Avatar for AleMonteiro
0
317
Member Avatar for pucivogel

How do i reference to a folder? I'm want the photos in folder 'gallery1' to be shown when i click on it, this htm code is in the same directory with folder gallery1 i've done this: <a href="gallery1" onclick="return false" onmousedown="ajax_json_gallery('gallery1')">Gallery 1</a><br> but nothing shows when i click on it

Member Avatar for stbuchok
0
244
Member Avatar for jelly46

I have been assigned to build a form in flat html but parses a small bit of info to a dynamic (asp) page on a CMS. Can i do this in Javascript or just HTML? I have looked at quite a few question on this but nothing answers what I …

Member Avatar for jelly46
0
61
Member Avatar for dinhunzvi

i have an html form with two text boxes. one is for the product name and the other is for the price. i want the text boxes for price to allow numeric values only. is there a way of limiting user input for this text box using javascript

Member Avatar for radhakrishna.p
0
167
Member Avatar for mahesh m

hi, i used this code for caturing the close event in firefox browser .but the alert is getting when refresh and closing the tab in the browser also . can anyone help me out from this problem. if (!event.clientX && !event.clientY ) { //alert(event.clientX+" ,"+event.clientY); alert(event.pageY); if(event.pageY) { alert("hiiiiii in …

Member Avatar for stultuske
0
109
Member Avatar for keithcorwin

Hi Everyone, This is a simple problem. I'm making a flowchart-based troubleshooting guide. There are checkboxes on each process box which will generate a text when the checkbox is clicked. The generated text would be on a textfield area which a user can copy. hope anyone can help me with …

Member Avatar for printersdelhi
0
117
Member Avatar for techyworld

Hi i need a simple timer for seconds which keep increment. 0 1 2 3 ....30 Can anyone help?

Member Avatar for slametcahboyolali
0
109
Member Avatar for GraficRegret

I need to create a script to scroll the ads on the website I am developing, with the pages. The want the ads to stay on screen when everything else scrolls, Anyone know where to find a good tutorial on this or have a good code to do this with …

Member Avatar for GraficRegret
0
332
Member Avatar for SMode55

I'm making a administration panel which is generated with Jquery's live and post it works fine.Inside the generated page I'm trying to be able to edit a user in their respective rows so i want to run a post function to retreive the input of a textfield and onkeyup use …

Member Avatar for AleMonteiro
0
188
Member Avatar for pucivogel

How can i make an ajax request through a link, i mean when i click on link <a href=.... it sends an ajax request to a php file which shows in my case a table?

Member Avatar for JorgeM
0
386
Member Avatar for scholarwithfire

Im new to Javascript stuff especially on JSON and Jquery. I have successfully implement the monthly view of FullCalendar but is there anyway to show or pop up the dayview based on the date when user clicked on monthly view? Any help would be much appreciated.

Member Avatar for LastMitch
0
130
Member Avatar for jeets1892

I wrote a code below. What I am trying to do here is, when the three right cells are selected, it should show a message saying "Right" , if not then should say "Try again". So far my code only highlights the cells. I am wondering how do I proceed …

Member Avatar for LastMitch
0
147
Member Avatar for jacob21

Hi, I am working on google charts.Below code is showing tooltip in case of core graph. I am trying to show tooltip in case of Table chart. need sugestions corechart code: <html> <head> <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script type="text/javascript"> google.load("visualization", "1", {packages:["corechart"]}); google.setOnLoadCallback(drawVisualization); function drawVisualization() { data = new google.visualization.DataTable() data.addColumn('string', …

Member Avatar for LastMitch
0
1K
Member Avatar for Dani

As many of you know, DaniWeb now has an API. It (optionally) uses OAuth 2.0 and it supports both server-side and client-side implementations. The server-side method I have down pat. However, I had to hack together the clientside implementation, and although it works, I'm not sure it's done "correctly". I …

Member Avatar for Dani
0
906
Member Avatar for dfn77

Hi, I am using Kendo Web UI and am trying to filter a listView using multiple rangeSliders. I've seen a few examples of filtering, but never with a listview using range sliders. Pretty much all of the examples I've seen involve filtering a grid with a dropdown. I am curious …

Member Avatar for LastMitch
0
480

The End.