15,120 Topics
| |
Hi. I have a web site that contains jquery tabs and one tab consists of a sortable jquery. Although the sortable works induviduallay it doesnt work when it is put into the tabs. Is there a solution of that? My tab code is as follows. <script type="text/javascript" src="javascripts/jquery.js"></script> <script type="text/javascript" … | |
how can I access class name without using id I have following div tag: <div class="aa bb cc"> </div> their are three classes if i access class then which one will be access. | |
If I click on div first time it show alert and if i again click on div it will not show any alert box | |
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 … | |
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) … | |
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', … | |
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 … | |
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 … | |
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 … | |
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( … | |
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="">- … | |
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 … | |
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 … | |
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(" … | |
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 | |
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] | |
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(" … | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.