15,699 Topics

Member Avatar for
Member Avatar for agam360

Is there any possible way to return the expiration time of a pefeied cookie by [B]JavaScript[/B]? What I read so far: 1) Create another cookie to hold the expire time. -I don't want to use that because i do not intend to do it, simple enough. 2) I don't really …

Member Avatar for twiss
0
173
Member Avatar for thijscream

hi, i'm having the following problem, normaly i work with html css and php but for this to work i need to make a litle javascript function and i'm still kinda new to it. so here is my problem. i'm making a search field where someone has to select some …

Member Avatar for Graphix
0
117
Member Avatar for Sogo7

Here's a little brain teaser for you all. A client wants a [B]secure[/B] members only area of thier website with username/password access control, however the sites web host does not support any form of server side scripting or htaccess and to complicate matters further the client will not or cannot …

Member Avatar for Airshow
0
224
Member Avatar for soft_coder

Hi I am using [CODE]window.status = "Message"[/CODE] for IE but I want to do the same in other browsers. For time being I want to do it in firefox but I have to manually enable it in browser options. Is it possible to do so programmatically? Thanks in advance.

Member Avatar for twiss
0
63
Member Avatar for ashley2011

Will someone please help me out in javascript, jquery, and css? I really want to use this menu at this web page: [url]http://designreviver.com/tutorials/jquery-css-example-dropdown-menu/[/url] However, I would like to have this menu as a multi level menu. Currently it is two level. How to make this menu as three or four …

Member Avatar for twiss
0
55
Member Avatar for soft_coder

Hi I am developer in .NET but I need to access session object in client side and redirect the page to login. i am using the following code snippet but I am unable to achieve the target. [CODE]function CheckSession() { var session = '<%=Session["username"] != null%>'; //session = '<%=Session["username"]%>'; alert(session); …

Member Avatar for soft_coder
0
24K
Member Avatar for raghujosh

I have a dropdown box which should display an appropriate text box only when a particualar option is selected. Currently, the textboxes are displayed all the time. I do have a Javascript function that works for 2 options(hides always and displays only when the correct option is selected). But I …

Member Avatar for twiss
0
193
Member Avatar for abhi10kumar

I am populating combobox on checkbox checked or not click event. Here is code. I am not solving the bug, JS runs on chrome but not in both IE and Firefox. checkbox <input type="checkbox" onclick="selectinactivebatch(this.value);" id="inactive_batch" name="inactive_batch" <?php if(isset($_POST['inactive_batch'])) echo "checked";?>> AJAX Code function selectinactivebatch(checkboxvalue) { var check; if(checkboxvalue=='on') check=1; …

Member Avatar for twiss
0
123
Member Avatar for accessnws

how to pass javascript value to php without get or post...mean in the same page..without submit

Member Avatar for almostbob
0
89
Member Avatar for prem2

Dear team, I am going to implement chat application in my site. I want to use long-polling or ajax -push concept in my program .I prefer to use php and javascript and ajax. kindly suggest me ajax-push concept or long-polling concept. Thank you, Regards, Prem

Member Avatar for Airshow
0
74
Member Avatar for doctorphp

Hi everyone. I am having some trouble with my PHP and jQuery. [CODE] <script> function solveError(id) { $('#loading').html('<img src="resources/images/loading.gif" width="16" height="16" />').load('solve_error.php?id=' + id + ''); } </script> [/CODE] And here is the PHP [CODE]<a href="#" title="Solved" onclick="solveError('<?php echo $error['error_id']; ?>');"><img src="resources/images/icons/tick_circle.png" alt="Solved" /></a>[/CODE] When I get rid of the …

Member Avatar for doctorphp
0
124
Member Avatar for manu555
Member Avatar for urtrivedi
0
119
Member Avatar for Dean_Grobler

Hi there, I'm busy coding an interface JSP for Liferay Portal using the Alloy UI taglib. Does anyone have a link to nice tutorials on using it? I've tried googling this but there seems to be virtually NO tutorials on this... Thanks guys!

Member Avatar for Airshow
0
83
Member Avatar for Usmaan

Hi Forum, I'm currently working on a project where I create a form in Javascript/HTMl(easy). By form, i mean an actual form where it shall contain combo boxes, drop-down lists, buttons etc. Something like a questionnaire. That's all good and simple enough. However, how can I use this questionnaire/form to …

Member Avatar for roswell1329
0
99
Member Avatar for ari$av3s

Hi! I am looking to make an adjustment to this script. I'm trying to find a way to do it as neatly as possible, and without breaking any pre-existing functionality. The code is here, with its corresponding tutorial: [URL="http://tympanus.net/codrops/2011/03/28/moving-boxes-content/"]http://tympanus.net/codrops/2011/03/28/moving-boxes-content/[/URL] What I'm trying to do is have the first section open …

Member Avatar for Airshow
0
195
Member Avatar for itisnot_me

ok so im working with execCommand and trying to make a function to insert a youtube video into a content editable div with execcommand inserthtml. Now this works with every other browser except, OMG IE. now i am trying to use pasteHTML(), found that some people have gotten it to …

Member Avatar for foo123
0
651
Member Avatar for d3rck

Hi everyone, I am having problems using $.post because of the way my website is structured. Basically, my index file handles all the pages and simply includes subpages. I have this code for my index below: [CODE] if($pagegetter) { if( !strpos($pagegetter,".")&& !strpos($pagegetter,"/")&& !strpos($pagegetter,"%")&& !strpos($pagegetter,":") ) { if(!$sectiongetter) $sectiongetter = "pages"; …

Member Avatar for d3rck
0
87
Member Avatar for Nybuler

hi all, i got two list box that moving item within each other and they are operate by my "->" "<-" button here the function code in java i wrote but it in firefox work perfectly but it dosen't work in google chrome....anyone know where is the problem of my …

Member Avatar for twiss
0
122
Member Avatar for manish250

hi i have a jsp page in which there is three radio button one is for dropdown list,another is for text field and last is for File field.What i want is when someone select dropdown list other two fields should be blanked and disabled.and when i select file field then …

Member Avatar for twiss
0
229
Member Avatar for Hani1991

[B]hello every body i have been looking for a book (e-book) about java script can you tell me where i can find a great book about it that explains in detals? please i need it urgently and if it is free it will be much better thanks[/B]

Member Avatar for Pro2000
0
84
Member Avatar for spixy

I really don't know if you will be interested on my suggestion, 'coz this may seem like, I want you to help me, but i guess this is pretty interesting... I don't have an idea if you do javascripts, but i guess, you have a good idea on editing them... …

Member Avatar for Pro2000
0
247
Member Avatar for maii_18

Hello, I want to know how can I call VB.NET (Server Side) function to Javascript (Client Side). I want to insert function here in my Javascript code; [CODE]function ConfirmSave() { var Ok = confirm('Proceed to Save?'); if(Ok==true) return true; else if(Ok!=true) return false; }[/CODE]I want to exefcute the Save() function …

Member Avatar for twiss
0
383
Member Avatar for Whilliam

Hello guys, tried googling or searching in this forum but it will still not work. This code works perfectly fine in IE but not in firefox. Here's the AJAX code: [code] function search() { var xmlhttp; if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if …

Member Avatar for almostbob
0
135
Member Avatar for jgat2011

Hi everyone! I am currently developing a website and I would like some areas to be refreshed when one click on a button. Can anyone help?

Member Avatar for jgat2011
0
83
Member Avatar for divyakrishnan

[B]Hi... I want to add a text field inside a div(div with id "my_div") tag dynamically(By clicking "Add" button). The code below shown is adding the new textfield after the submit button not inside the "my_div" div . [CODE] <html> <head> <script language="javascript"> function add() { var divTag = document.createElement("div"); …

Member Avatar for manu555
0
4K
Member Avatar for hawx

I am trying to create a basic a accordian style menu. Im guessing i have done 90% of the code, but a little stuck now. I have three widget and what I am attempting to do is hide all the widgets apart from the one actually clicked. My code so …

Member Avatar for vibhaJ
0
78
Member Avatar for umair.sabri
Member Avatar for divyakrishnan

Hi.. I have a problem with my project. I want to create dynamic radio button group with different names. [CODE]<script language="javascript"> function changeIt() { my_div.innerHTML = my_div.innerHTML +"<br>Skills<input type='text' name='mytext[]' value='mytext'>"; my_div.innerHTML = my_div.innerHTML +"<br><input type='radio' id='my' value='mytext' value='male' name='radio[]'>"; my_div.innerHTML = my_div.innerHTML +"<input type='radio' id='my' value='Female' name='radio[]'>"; //var el …

Member Avatar for divyakrishnan
0
5K
Member Avatar for Troy III

Since the Firefox [Bug 633133] of the [B]in[/B] operator on DOM Collections has ben finally fixed - We can now write a short fast and clean function of the method "Contains" for FirefoX to check if x.contains(y). And vice- versa. What we will need is: a prototype and we'll chose …

Member Avatar for Troy III
0
631
Member Avatar for hawx

I am trying to create a basic a accordian style menu. Im guessing i have done 90% of the code, but a little stuck now. I have three widget and what I am attempting to do is hide all the widgets apart from the one actually clicked. My code so …

Member Avatar for hawx
0
92
Member Avatar for mm_89

Hi all, well I do not know where to start, I developed ASP.NET websites before but did not use any of the known designing tools. O just made it with a simple design using Visual Studio Toolbox . Now I have a new project where a lot of design is …

Member Avatar for jbisono
0
126
Member Avatar for Violet_82

Hi there, I am trying to create an image gallery on my home page [url]http://www.antobbo.webspace.virginmedia.com/photography/home.htm[/url] which gets displayed in the canvas. Ideally I would like to add some jquery to have a smooth transition between the images but I am getting a bit lost. First of all I want to …

Member Avatar for Violet_82
0
111
Member Avatar for umair.sabri
Member Avatar for SaroGFX

Hi there guys, I'm very new to AJAX so i'm not sure if it's possible or there is already something like this available. But i'm looking for some kind of horizontal slider. Not an image slider with arrows or something like that. But more like a timeline which you can …

Member Avatar for SaroGFX
0
174
Member Avatar for cdes1145

Sort of at a dead end, I need to find a way to align an element from Array1 with a specified element from Array 2. I.e. A has the index of 1 and I want it to be aligned with e, How would I go about doing this? I have …

Member Avatar for Airshow
0
503
Member Avatar for Ritesh_4

Hello I would be grateful if someone could help me achieve a parent-child relationship as shown in the attachment, using the <a href> tags

Member Avatar for Ritesh_4
0
142
Member Avatar for navi17

[CODE]<form method="POST" action="https://www.thewiseagent.com:443/secure/webcontactAllFields.asp" name="myForm" onSubmit="return chkForm(this);"> <!-- Do not change --> <input type="hidden" name="ID" value="67,176,210,31,93,194,29,70,235"> <!-- These fields can be edited --> <input type="hidden" name="responsePage" value="http://http://www.expertforyou.com/"> <input type="hidden" name="Source" value="website referral"> <input type="hidden" name="Categories" value=""><!-- semicolon;delimited no spaces --> <input type="hidden" name="currentUser" value=""><!-- internal team member --> <input type="hidden" name="ProgramID" …

Member Avatar for Kannan R
0
225
Member Avatar for ankit.4aug
Member Avatar for cutexxbaby

hi i am doing a project and now i am try to work on paging, however i am stuck. I want to put in a list of links of website in the itemfilereadstore. So when show, i want to be able to click on any one of the link in …

Member Avatar for twiss
0
88
Member Avatar for gogreen1

anyone can help me from scratch how to create a cufon text ? it will be so useful for me in future :-)

Member Avatar for twiss
0
58
Member Avatar for Ritesh_4

Hello Anyone can pls guide me to a tutorial which can allow me to develop an image scroller shown at the bottom of the page of this link: [url]http://www.breitlingsionairshow.com/fr-airshow-home.html[/url]

Member Avatar for gogreen1
0
84
Member Avatar for anandhikrishnan

Hi, I have a function in java script like this.I want to append a comma in reason_txts only if there is second element in array function(result_arr){ var reason_ids="",reason_txts=""; for(i=0;i<result_arr.length;i++){ reason_ids+=result_arr[i].id+","; reason_txts+=result_arr[i].col0+","; } document.getElementById("reasonIds_disp_hdn").value= reason_ids; document.getElementById("appReason_text").value= reason_txts; document.ViewSlot.appReason_text.className="txtbox2"; } I tried like this, function(result_arr){ var reason_ids="",reason_txts=""; for(i=1;i<=result_arr.length;i++){ reason_ids+=result_arr[i].id+","; if(i == result_arr.length) …

Member Avatar for anandhikrishnan
0
96
Member Avatar for newbie14

Dear All, I have a dynamic select input. I am stuck on how to validate them? Any idea please? Thank you.

Member Avatar for newbie14
0
86
Member Avatar for BlackKite

Hi! I can't seem to figure out what I'm doing wrong with this no matter how many things I try. I've looked through Google for a related issue but found nothing specific. Hopefully someone can help me. The script runs through a external .js file calling a list of music …

Member Avatar for BlackKite
0
206
Member Avatar for realnsleo

Hi everyone! I am looking for a jquery plugin that moves a whole page horizontally, diagonally or vertically like the one here: bulamu.net any help is highly appreciated!

Member Avatar for TySkby
0
165
Member Avatar for buymypies

So the scenario is on my page I have a form along with a countdown timer. If the countdown timer reaches 0:00 I have a statement which activates and is supposed to submit the form as it stands. here is that statement: [CODE] if (Todays_Date >= Target_Date) { clearTimeout(timeoutID); $('#testForm').submit(); …

Member Avatar for TySkby
0
142
Member Avatar for runeveryday

Hi, I'm trying to use Zeroclipboard [url]http://code.google.com/p/zeroclipboard/[/url] to copy stuff to the clipboard and add a tooltip when the mouse hover on the flash. but it doesn't seem to be working. my html code: [CODE] <div id="code1'" class="cptext" rel="'.$url.'">copy text</div> <div id="cd1" class="test" style="display: none; border: 1px solid #ccc; padding: 8px;">testtest</div>'; …

Member Avatar for twiss
0
143
Member Avatar for crazycat503

I have a series of video links. On each click, I want to open the video modaly. I thought of using internal divs for each video (hidden at page load) but then it didn't seem to be a good practice since I would need 5 div for each video's player. …

Member Avatar for Airshow
0
136
Member Avatar for Nathan Campos

I was looking at a page called [URL="http://blog.sarathonline.com/2009/02/javascript-convert-strings-to-binary.html"]Javascript: Convert Strings to Binary (and representing in a nerdy way!)[/URL] where you can convert a [icode]String[/icode] into binary dots using Javascript and I loved that, but how I can do that? Since the code isn't for making that grid...

Member Avatar for Airshow
0
226
Member Avatar for v_sriram

Hi Everyone, I am trying to write a string variable containing XML in the form of text into an iframe such that it shows up as formatted XML with the expand(+) and collapse (-) options that default in IE when opening an XML file. The first thing I tried is …

Member Avatar for v_sriram
0
732

The End.