15,127 Topics

Member Avatar for
Member Avatar for wgrogers58

Greetings I don't know javascript but have searched google for hours until I found daniweb, and so I thought I would ask experts. I want to be able to display a message for first time visitors to a website. Ideally it would check to see if they've been to the …

Member Avatar for stbuchok
0
298
Member Avatar for Stefan_Lam88

Hi guys, I m able to do pagination. But I face another challenge where I once click next,prev or page number,it will refresh the accordion. let say i got 3 headers of accordion.namely A,B,C. After clicking any function in either B or C. It will auto refresh to header A. …

Member Avatar for MartinRinehart
0
117
Member Avatar for yorro

Hi, I am using the AjaxControlToolkit's AutoCompleteExtender without a Web Service(PageMethod). **It is working fine on my local machine, but AutoCompleteExtender won't work in the IIS but other AjaxControlToolkit does.** I've searched around but none applies to my problem. It is running in IIS-6, and Framework 4.0. **Heres my code:** …

0
94
Member Avatar for n3xtgen

I am trying to get the maximum value in an array but when I try to display it I get every value from that array. [CODE] for (var ii = 0; ii < items.length; ii++) { var myArray = [items[ii].odoEnd]; var highestEnd = (Math.max.apply(Math,myArray)); $("#trips").append("<li>" + items[ii].TripDate + " : …

Member Avatar for Airshow
0
150
Member Avatar for ibakir

Hi Guys i want to show a beep! sound after a message come to me when the windows would be minimized....i think i shall put a statement after if(r.chats.length){ here's the total script: [CODE]// This method requests the latest chats // (since lastID), and adds them to the page. getChats …

0
95
Member Avatar for chijkl

I have problem with the convert button please help Thanks in advance [CODE] <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <script type="text/javascript"> var th = ['',]; var dg = ['zero', 'ichi', 'ni', 'san', 'yon', 'go', 'roku', 'nana', 'hachi', 'kyuu']; var tn = ['juu', 'juuichi', 'juuni', 'juusan', 'juushi', 'juugo', 'juuruko', 'juushichi', 'juuhachi', 'juuku']; …

Member Avatar for chijkl
0
138
Member Avatar for ZeroEddy

Hey I have recently started to learn canvas in html5. As of now I can draw all the basic shapes rectangles arcs etc. I am also able to get the mouse coordinates and show them in a text box in the main body of the html. I am just wondering …

Member Avatar for ZeroEddy
0
268
Member Avatar for Violet_82

HI there, I was again watching a jquery/ajax tutorial and in the video [url]http://blog.themeforest.net/tutorials/jquery-for-absolute-beginners-day-10/[/url] they show how to use a [ICODE]return:false;[/ICODE]to determine whether a scrip will execute (javascript on) or will go to a separate page if the javascript is off. Basically I have 2 pages test.htm and new_file.htm. The …

Member Avatar for Violet_82
0
228
Member Avatar for ibakir

i need a help this is made me crazy, it works on all the browsers but the IE 8 not working at all , you can check this link below: [url]https://www.facebook.com/DalilackAds?sk=app_206541889369118[/url] the captcha says its wrong but in all the other browsers works just fine. Thank you

0
129
Member Avatar for ujjwal uniyal

Hello all!!! My Javascript menu is giving me some problems. whenever i hover the mouse over the menu the dropdown is hiding behind the javascript slideshow. can u plz help me out. Here is the link to the website. [url]http://www.sewaindia.org/[/url]

Member Avatar for ujjwal uniyal
0
52
Member Avatar for jfunchio

I have this code that displays a thumbnail strip and then when you mouse over a thumbnail a bigger images shows up over the strip. The problem is it only is working on some of them and only when the mouse is over a certain part of the picture. When …

Member Avatar for jfunchio
0
169
Member Avatar for govnah

Hi friends, i am trying to create a media gallery which will display images from a folder. I have sorted the images into a separate folders according to years i.e (2011,2010,2009). which i will be using as navigation. so far i've been able to list the folders in the directory …

Member Avatar for govnah
0
175
Member Avatar for gg3l

Hi, This is a demo of what I'm trying to do: [CODE]<html> <head> <script type="text/javascript"> window.onresize = resize; function resize() { if (document.getElementById('elm1').offsetWidth < 1000) { document.getElementById('elm2').style.width = 1000 } if (document.getElementById('elm1').offsetHeight < 600) { document.getElementById('elm2').style.height = 600 } if (document.getElementById('elm1').offsetWidth > 1000) { document.getElementById('elm2').style.width = "100%" } if (document.getElementById('elm1').offsetHeight …

Member Avatar for raphie
0
240
Member Avatar for 18engineer

i want the code of passing form elements with post in php with ajax.. i am trying a number of codes,but all in vain:( can anyone send me please, full code

Member Avatar for joehms22
0
150
Member Avatar for Metophase

Hey guys whilst I was trying to solve this issue I came across your thread which I found helpful to an extent, basically I spent hours reading up and realised that the solutions you provided doesn't do what you actually wanted it to do so here I offer my solution. …

Member Avatar for Taywin
0
251
Member Avatar for ndeniche

I'm developing a web app in which I have a file upload option. The thing is, my file input is hidden, and instead, a textbox and a button are used, in order to style the input, copy the file input's value and allowing the user write a link address into …

Member Avatar for ndeniche
0
335
Member Avatar for Frankey

I am retrieving a string in json format from a php file and assigning it to a var in javascript string = {"name": "piet", "id": "45"} how do i convert this string into a real json object?

Member Avatar for MartinRinehart
0
98
Member Avatar for Revlis

Hi all, So my task was to build basically photo-based department org-charts for a SharePoint 2007 environment. Not sure why I was asked to do this as the last time I web designed was when Netscape 4.0 and IE4 were still duking it out, but whatever. I inserted my images …

Member Avatar for Revlis
0
2K
Member Avatar for manjukakkadath

Im developing a script for dynamically creating html table structure so that from the input that has been given to the function it will fetch the values one by one and will create the structure. My problem is i want to add attributes to the elements created. sample code attached. …

Member Avatar for Taywin
0
165
Member Avatar for infernodeep

hi guys , im facing a small problem with javascript,it works fine in FF,but inIE6 & IE7 nothing is happening could anyone solve this problem....plz help me. Here is the HTML code: [CODE]<div id="div1" style="display: visible">Div 1</div> <select> <option onclick="javascript:changeDisplay('div1','block')">visible</option> <option onclick="javascript:changeDisplay('div1','none')">hidden</option> </select> [/CODE] Here is the JavaScript code: [CODE]<script …

Member Avatar for papiya
0
797
Member Avatar for manjukakkadath

how to create variable name dynamically? eg: if (test==1) var test1=1 if (test==2) var test2=2 here test1 and test2 should create dynamically. i tried var "test"+1. But throws error. Any idea?

Member Avatar for Taywin
0
36
Member Avatar for cdudefire

My assignment for my programming class is to create a script using JavaScript that asks a user to enter a number in a pop up dialog box on their browser, and then tell them if they entered an odd or an even number. This is what I have come up …

Member Avatar for sridhar_sam
0
2K
Member Avatar for Stefan_Lam88

[url]http://bxslider.com/[/url] Hi guys, refering to the above jquery bxslider.I wish to ask how to implement the public function of the code? destroyShow() Destroys the active slideshow reloadShow() Reinitialize a slide show regarding this two.. is it $("#test").bxSlider(<--characteristic-->).reloadShow()? now the situation is I got 2 sliders. after I implement first slider, …

0
60
Member Avatar for Eneswar

Hello, im trying to do a single html page with multiple checkboxes to hide/show text when checked/unchecked. I'm really bad at html but so far I have got this: The problem I have is I dont know how to add more checkboxes. Would appreciate some help. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for Eneswar
0
553
Member Avatar for godfather21

i have installed ajaxcrud and i receive the following errors: Notice: Undefined index: customAction in C:\wamp\www\vidavo\datagrid\ajaxCRUD.class.php on line 18 Call Stack Notice: Undefined index: ajaxAction in C:\wamp\www\vidavo\datagrid\ajaxCRUD.class.php on line 33 Call Stack i have download it from ajaxcrud.com and the only thing i have changed was the username,pass and my …

Member Avatar for Taywin
0
59
Member Avatar for AODfan

Hello, I am taking a JavaScript class and I am currently on an assignment where my Professor wants me to create a dice roller program with the following stipulations: * Users can choose via form how many sides that they can choose from, between 2 and 100. * Dice are …

Member Avatar for Taywin
0
308
Member Avatar for hemanth.c

[ICODE]I have created a table using HTML and created a seperate hyper link to add extra columns dynamically. Now problem is that.. The changes are undone once the page get refreshed. Please give me solution about what I have to do to make the changes made by java script on …

Member Avatar for Taywin
0
213
Member Avatar for ktsangop

Hi there! I would like a little help regarding the following code. The following code will wait for a non-blocking socket connection, and then wait to receive a certain packet. When the packet arrives, it will do something and then close connection and reinitialize it in order to be able …

Member Avatar for ktsangop
0
388
Member Avatar for 18engineer

i am learning php... i want to implement ajax with php.. can u tel me a good tutorial of implementing ajax with php? i have visited [url]www.w3schools.com[/url] but it provide a very basic intro about ajax and php... i need some implementation examples... Thanx

Member Avatar for Nick Evan
0
105
Member Avatar for Helinxed

Hello everyone,I need a help to back values from php to javascript... Listen: [CODE] __hasInventory = true; _iMatrix = []; $.ajax({ url: 'index.php?acao=test', dataType: 'script', type: 'post', data: {mode: 0}, success: function () {[/CODE] If is all Ok with post method,I'd like it back with results passing PHP results to …

Member Avatar for Helinxed
0
161

The End.