15,116 Topics

Member Avatar for
Member Avatar for andarivaadu1

Hi everyone, If there are multiple hyperlinks in a webpage, How do I recognize them using java script. Also How do I store the content of the hyperlink in a variable , so that the data stored in the variable will be used the query a database and populate results …

Member Avatar for Airshow
0
139
Member Avatar for gikonyo

I want 15% discount to be displayed automatically on the webpage once the user selects SE15 as the discount code(when the function is called) this is the code i have, its not working, what could be the problem <script type="text/javascript"> function getDiscount(){ var discount_code=document.orders.discount_code.options[document.orders.discount_code.selectedIndex].value; var discount=document.orders.discount.options[document.orders.discount.selectedIndex].value; var answer=document.orders.answer.value; if(discount_code=="SE15") discount=answer-(answer/100*15) …

Member Avatar for Airshow
0
83
Member Avatar for gorleone

Have a interesting problem. I make a little ajax mechanism to get info from php file and add a function for delete the data. phpfile.php: [CODE] <?php if(isset($_POST['bu'])){ $data = 'text<a onclick="something();" href="#">alert</a>'; echo $data; } ?> [/CODE] js file: [CODE] function getdatafromfile(){ var bu = 'bu'; $.ajax({ type: 'POST', …

Member Avatar for Airshow
0
372
Member Avatar for andarivaadu1

Hi everyone, I have a web application developed using php. I want to add a new feature in it. When the user searches for some book details, all the book details are displayed. Now when the user clicks on a book name in the search results, He will be redirected …

Member Avatar for diafol
0
173
Member Avatar for airmvp23

I've been round and round with this subject, but here goes again. Basically I need to Click a Form Button and submit that click into an iframe located on a separate page. The history behind this is that I am using Joomla for my main platform, but needed a more …

0
93
Member Avatar for web_develop

Hi all, I'm building a shopping website that within the products' page, there's an HTML select that allows the user to choose what product type he wants to view. beneath the select, there's a heading followed by a div or a table created at runtime showing the product name, image …

Member Avatar for niranga
0
116
Member Avatar for Loveleen Kaur

i am using jquery code and it is being called inside while loop. the output is correct for the first time but the output is already displayed for the second tym. plz help me solve this prblem. here is the code. [CODE] <html> <head> <script src="jquery-1.6.4.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready( …

Member Avatar for pzuurveen
0
212
Member Avatar for raheel_88

Hey all, I have the following HTML, adapted from a more complicated one I'm creating; [CODE] <HTML> <HEAD> <SCRIPT TYPE="TEXT/JAVASCRIPT"> function setup(ans) { lit = '' if (ans == 'anim') { lit = '<br><br>How many legs? ' lit = lit + '<SELECT NAME="q2" ONCHANGE="print(document.quest.q2.value)">' lit = lit + '<OPTION VALUE="">- …

Member Avatar for raheel_88
0
174
Member Avatar for Coyx

Hi all! I have a DIV (#content) and in that DIV I have about 4 or 5 <p>'s on the page. I'd like to give just one class of that <p> some jQuery to rotate 45 degrees. Could anyone point me in the right direction? I've searched everywhere I can …

Member Avatar for pritaeas
0
183
Member Avatar for jacob21

Hi, I am new to php/ajax.What i am trying: I have one drop down list,one test box & a button more.if i click more button same drop down & textbox & more button should open $ further goes on.. I need suggestion ?? what should i use??I have to insert …

Member Avatar for pzuurveen
0
116
Member Avatar for amulet_john

Hi Everyone... I need your help please... I want to store my extracted string using list() function... Here is my code below and it doesn't work.. Is there a list() function in Javascript? [code] var Mystring; var H; var M; var S; Mystring="01:00:00"; list(H,M,S)=Mystring.split(":"); document.write("Hours: "+H); document.write(" Minutes: "+M); document.write(" …

Member Avatar for niranga
0
89
Member Avatar for softDeveloper

Hi all, I have several sections in a text, and I would like to highlight each section as mouse rolls over.. I've tried to span the fragments of text but it doesn't work in my jsp...any suggestions?? Thanks

Member Avatar for softDeveloper
0
99
Member Avatar for hijabihtohai

could any body help me here on this issue I want to know if there is a way to call a javascript on vPlayer Event: VPLAYER_PLAY Like when I play/stop a video it do call a javascript on the page VideoPlayed() function VideoPlayed(){ alert('Video Play'); } Reference URL: [url]http://www.goto-multimedia.com/products/vPlayer/asdocs/html/gT_media_vPlayer_VPlayerEvent.html[/url]

0
58
Member Avatar for amulet_john

Hi Everyone... I need your help please... I want to store my extracted string using list() function... Here is my code below and it doesn't work.. Is there a list() function in Javascript? [code] var Mystring; var H; var M; var S; Mystring="01:00:00"; list(H,M,S)=Mystring.split(":"); document.write("Hours: "+H); document.write(" Minutes: "+M); document.write(" …

Member Avatar for amulet_john
-1
224
Member Avatar for jonow

I just got this script for a countdown on a website and I got it to work locally but when I upload it to the server i get the error "index.html:22 Uncaught TypeError: Object [object Object] has no method 'fancycountdown'". I have checked to make sure all other javascript files …

Member Avatar for jonow
0
254
Member Avatar for triumphost

I have a page that has a hidden button at the top. When a link is clicked, the button shows. I want to write javascript so that if the button is showing, add a breakline below it and if it is not showing, do nothing. My attempt & fail is …

Member Avatar for stbuchok
0
68
Member Avatar for Danny159

Hey, I am trying to get this working but failing! I am trying to make it so when you click the heading it opens the nab to do with that heading, and remember it... so next time you go onto the site it will remember what tabs you had open …

Member Avatar for Danny159
0
109
Member Avatar for ujjwal uniyal

Hi, My AsyncFileUpload is not working at all. When I amclicking on the Select file button nothing is happening. It isn't letting me select any file. However if i am setting UploaderStyle to Traditional then it is working fine. My .aspx code is - <div> <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> <asp:AsyncFileUpload ID="AsyncFileUpload1" …

0
74
Member Avatar for saberExcalibur7

Uhm. Well i am really not well equipped with jquery knowledge therefore giving me the complete code would be the solution. =] The function will be 1.get the 70% width of the browser's screen. 2.convert that width into its corresponding px value 3.set the max width of the #mainContainer using …

Member Avatar for saberExcalibur7
0
231
Member Avatar for omaiaa0p

Hello everyone.. I'm developing a calorie counter with a <select> tag as my list of foods. It currently calculates the number of servings, calories per serving as well as the daily caloric intake. My problem is I implemented a "delete row" function to delete a food in case a user …

Member Avatar for MartinRinehart
0
238
Member Avatar for 54uydf

I have a form with 2 submit buttons, inside the form I have a table, each row in a table has a checkbox each row is showing a member-status, each member can have more than 1 status, so the table looks like this- x=checkbox x, david, beginner x, david, pro …

0
71
Member Avatar for praveendasika

Hi I have recently been facing a difficut issue.I think some one is attacking my website. I have attached the jpg image of the failure and its happening on a daily basis .I upload the site and for some hrs its just cool but suddenly i get this error. I …

Member Avatar for albertindian200
0
198
Member Avatar for triumphost

I have an iframe that loads a page inside it.. when a link is clicked on the page in the iframe, resize the body of the parent aka the document that has the iframe's body.. Example: [CODE]Body <------------------------ Iframe | Page | Link... Upon Click, resize --[/CODE] How do I …

Member Avatar for triumphost
0
143
Member Avatar for klemme

Hi all! I am trying to include two functions in an onchange when the user selects a new value from a select list: It is a quite big form form - There are one select list, when changed - TWO other fields in the form needs to change accordingly: I …

Member Avatar for klemme
0
2K
Member Avatar for Biglis35

Hello, a few years ago (about 7 or so) I developed a concept for a website but I had (& still do not have) little to no knowledge on web design... specifically source code. Well I attempted to have the site built by an individual who claimed to have extensive …

Member Avatar for MartinRinehart
0
247
Member Avatar for WolfShield

For those of you unfamiliar with Google Documents, it is like Microsoft Word/Excel/etc. online. I would like to create a simple online document editing program where a logged-in users could edit and save a book or other text-based document. However I do not have a lot of Web Programming experience …

0
75
Member Avatar for rowen17

I want to perform the submit function before going to my summary page but it's not working...I even tried returning false. but still, it didn't work.. [CODE] function submit(){ nodes = document.getElementsByClassName('check_boxes'); len = nodes.length; for (i = 0; i < len; i++) { nodes[i].removeAttribute("disabled"); } return true; }[/CODE] [CODE] …

Member Avatar for rowen17
0
913
Member Avatar for anjibman

Hi All, I am trying to display the helpful message to the user when error occur. a) I have exception catching in Java as follow [CODE] AgencyDAO a = new AgencyDAO(); try { a.updateAgency(agencyId, newAgencyCode, newAgencyName); } catch (DAORuntimeException e) { String message = "My Custom message"; request.setAttribute("GROUPING_EXCEPTION", new Exception(message, …

Member Avatar for Airshow
0
2K
Member Avatar for deceivingrakesh

Guys i have a question !! lets say that i code something in java-script for client side and vb-script in the back-end, now is it possible to execute vb-script in the back-end only once java-script gets executed!! there's an asp button on click java-script should get executed then the vb-script …

Member Avatar for stbuchok
0
77
Member Avatar for PriyalRao

Here is my code for Nested Tabs. How to hide nested tabs content by default and show only links for nested tabs? And How to hide Nested Tabs Links when clicked on any one of them and show nested tabs content related to that link? [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

0
80

The End.