Hey guys I am looking for a delete javascript function that will work with this code here. I have tried a few that I have found online. They work however they only seem to delete the first row. If you add rows none of those can be deleted there after. I'm still learning java but the id for the row is "myCells" and the id for the delete button is "delBtn". So i'm thinking I need something like everytime you click "delBtn" it removes "myCells" for that row. I was trying to write it out: var x = "myCells"; var …

Member Avatar
Member Avatar
+0 forum 4

Hello every one i am having one doubt i have a set of links[url].Now there is pave ackages like 6 links,25 links package. if two user select 6 link each day and both will have same links[url] .now i when user log in then on adversitment page he visit each link one by one and as same set of link is with another user so i want to show these links to each user such that if particular user visit it then button become disable for it... following is code and table structure i am really confused with logic releated …

Member Avatar
Member Avatar
+0 forum 2

Fulllscreen div misbehave on window resize. [Demo](https://jsfiddle.net/y2d7dbod/) **fullpage** is main container having fullscreen height & width. **section** is inner div of full height & width. When window is resized after scrolling to any div it leaves some space from top. How to make it responsive & scrolling fullscreen page? (section should stick to top & left : margin, padding to left = 0) **Menu** <ul id="menu"> <li><a href="#section-0"> home </a></li> <li><a href="#section-1"> about </a></li> <li><a href="#section-2"> services </a></li> <li><a href="#section-3"> gallery </a></li> <li><a href="#section-4"> contact </a></li> </ul> **Fullscreen Div container, .fullpage, Contains Fullscreen Div .section** <div class="fullpage"> <div class="section" id="section-0"> …

Member Avatar
Member Avatar
-1 forum 3

Hey, is there any way to get this: `$(document).on('keyup', "*[data-field='quantity'],*[data-field='price']", function(e){` to run whenever there's a change the whole table? At the moment it only changes on the keyup in the [data-field='quantity'] and [data-field='price']. But thing is I have a button to delete a row, and once ones deleted it doesn't update the total. As an example of what I mean, go the the link below and add two rows and watch it add up the totals, then delete one. The total doesn't update until there's another change in the [data-field='quantity'] and [data-field='price'] inputs. http://jsfiddle.net/re2af/195/ I also have a button …

Member Avatar
Member Avatar
+0 forum 2

Hi all, I have been using this tutorial: [bootply.com](http://www.bootply.com/lxa0FF9yhw) and I almost have it working, the problem is that my table is generated VIA AJAX from a php file. Basically I see my table but no working pagination unless I open chrome web tools and go to console and paste the following line: $('#myTable').pageMe({pagerSelector:'#myPager',showPrevNext:true,hidePageNumbers:false,perPage:4}); My javascript in my document is nested within a `$(document).ready(function(){});` and I have the ajax call to generate the table first followed by the call to call the pagination function. Attached at the bottom is my full code VIA pastebin. Is there anyway I can get …

Member Avatar
Member Avatar
+0 forum 1

I am have debugging some javascript code in firebug,then i have seen some strange POST thing in firebug this is worrying me? I have registration form when i reload page i see in firebug following "POST http://api.adsrun.net/post" Response Header Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Connection keep-alive Content-Type application/json Date Mon, 09 Nov 2015 13:25:43 GMT Expires Thu, 19 Nov 1981 08:52:00 GMT Pragma no-cache Server nginx/1.9.4 Set-Cookie PHPSESSID=a0f52694494daab764d719b907baff6b; expires=Sat, 07-Nov-2020 13:25:43 GMT; Max-Age=157680000 ; path=/ Transfer-Encoding chunked access-control-allow-cred... true access-control-allow-head... Content-Type access-control-allow-orig... http://localhost p3p CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV …

Member Avatar
+0 forum 0

i am stuck at one problem where i have two radio buttons "yes" and "no" by default yes is checked and below these radio buttons there are 3 drop downs for country,state,cities and two text fields.no what i want is when user select "no" radio button all these 3 dropdowns and 2 text fields get disabled i tried searching net but i only get solution for either one dropdown or text field?below is my code <fieldset> <label for="bed">I Would like to offer a bed for stay:</label> <div class="radio"> <label><input type="radio" name="optradio" checked="checked" id="radio1">YES</label> </div> <div class="radio"> <label><input type="radio" name="optradio" id="radio2">NO</label> …

Member Avatar
Member Avatar
+0 forum 3

I've tried several ways to attempt to disable parallax scrolling when the window is resized below a certain size but have been unsuccessful. I've tried if else statements, self invoking functions and functions that call another function depending on screen size but they are not responsive meaning that I am not able to see the parallax being disabled on window resize. How would i go about doing this?

Member Avatar
Member Avatar
+0 forum 1

I want to create a code that will allow me to calculate bonuses based on the 10 salarys. i need if statements for this, i need to then assign the new value to my other array i have set up called total, and then i need to display that as well.Ive tried everything with my if statements and it just wont accept anything other than doing one for each element which is no good!! I have a test class also.....any ideas? So far my code prints out the salarys in my array... public class Salary { public void calcSalary() { …

Member Avatar
Member Avatar
+0 forum 9

Somebody please help me. The page loads fine but when I change the option on select nothing happens. I'm sure it's just a small problem. Your help will go a long way. Thank you in advance. [CODE]<body> <table id="main" width="50%"> <tr> <td><div id="1"></div></td> <td><div id="2"></div></td> <td><div id="3"></div></td> <td><div id="4"></div></td> <td><div id="5"></div></td> <td ><div id="6"></div></td> <td><div id="7"></div></td> <td><div id="8"></div></td> <td><div id="9"></div></td> </tr> <tr> <td><div id="10"></div></td> <td><div id="11"></div></td> <td ><div id="12"></div></td> <td><div id="13"></div></td> <td><div id="14"></div></td> <td ><div id="15"></div></td> <td><div id="16"></div></td> <td><div id="17"></div></td> <td><div id="18"></div></td> </tr> <tr> <td ><div id="19"></div></td> <td ><div id="20"></div></td> <td ><div id="21"></div></td> <td ><div id="22"></div></td> <td ><div id="23"></div></td> <td …

Member Avatar
Member Avatar
+0 forum 3

hello ! I want to use JSON in my asp.net project using c# .how can i do that , i am very new in JS and JSON , please help me so that i can start work .i googled about it , and read some posts on different forums and sites . now i am understanding the JSON .but when i dont know how to use JSON in my project , i use [ICODE] using System.Web.Script.Services; using System.Web.Script.Serialization; [/ICODE] but still confused , please can any one guide me from 1st step so that i can start working :( Thanks …

Member Avatar
Member Avatar
+0 forum 1

hello ! i have experience in VB.net,C# and MSSQL2000,2005,2008r2 .but today my boss assign me a task to connect mssql server 2008 by using JS or JSON ,both are unknown for me ,:( i dont have any knowledge about JSON and JS , can any one help me how to connect mssql server 2008 using JS or JSON and what is the basic difference between JS and JSON :( Please I need your help Regards M.Waqas Aslam

Member Avatar
Member Avatar
+0 forum 1

hello ! my boss assign me a task to connect mssql server 2008 and show records in table using JS and JSON , i m very new in asp.net , can any one me help me where to start my work and how i can complete this , can any one tell me about site , bolgs or other helping tutorials so that i can make it possible in short time Regards M.Waqas Aslam

Member Avatar
Member Avatar
+0 forum 3

[CODE] <form name="myForm" method="post"> <textarea id="commentarea"></textarea> <input type="text" name="locate" value="<%=rs.getString("location")%>"> <input type="button" value="View Comment" onclick="getComment()"> </form> function getComment(){ <% String locate=request.getParameter("locate"); %> var location = "<%= locate%>"; document.getElementById('commentarea').value = location; } [/CODE] I know this is the worst way to access it, but i need to access it in this way. I want want the value of <%=rs.getString("location")%> to be the value of var location(in the javascript), i always get null, what should i do?

Member Avatar
+0 forum 0

I have a Java Script loop which will be polling if any child windows are closed. The code is working fine in all versions of IE in the local system. But when we invoke the application via CITRIX and IE6 then we are getting the PERMISSION DENIED error. and the same is not coming with the CITRIX and IE7. This is the code. [CODE] function singleChildWinClosed() { if (closeOtherChildWinRunning==false && logout==false ) { var j=0; for(j=0;j<track.length;j++) { if ( (track[j]) && (! track[j].closed) ) { // do nothing // just watch when it is going to be closed } else …

Member Avatar
Member Avatar
+0 forum 8

Dear Friends i am having n textbox. I want to validate the text box, So please any can help me to solve my issue. I have also enclosed the screen shot of the design

Member Avatar
Member Avatar
+0 forum 2

Hey this is my code.. I'm trying to display whats in "carefare" variable inside a div. But it's not working I have no idea. All names of the div's are correct. and when i use alerts(commented) correct values are displaying but it's not getting printed inside my divs. Always the value "callus" is coming. Please try to give me an idea. i'm stuck here, and it's urgent. i'm really new to jquery... [CODE] function showpriceincarbox(carefare,vnumber){ //alert("#carpricediv"+vnumber); //alert(carefare); if(carefare=="NA"){ $("#carpricediv"+vnumber).html("<p class=''>Call Us</p>"); }else{ $("#carpricediv"+vnumber).html("<p class=''>\u00A3"+carefare+"</p>"); document.getElementById('journy_fare'+vnumber).value = carefare; } } [/CODE]

Member Avatar
Member Avatar
+0 forum 6

Hi All, Sorry if this annoyed any of you. but I'm really indeed. I need to know on HOW TO LOAD 300 RECORDS OR DATA PER SECOND in my mobile apps (for this purpose, I use iOS app). I just need a sample or basic code on how to run it. I need to be taught, not to be feed. Hope anyone will keen to help me & thanks a lot for your kindness. Regards, Wafie Ali.. :)

Member Avatar
Member Avatar
+0 forum 7

Hello, thanks for reading my thread. I'm still new to web development so I appreciate your help in advance. Here is the issue I am having: In my project, I have a index.php page with a sidebar menu and a div id called “content”.The user can select different menu items and perform searches from the database and make updates to their account. I’m using ajax to load all of the menu items and all of the forms into the div id "content" on the index page. The Forms all load into the target div as they are suppose to with …

Member Avatar
Member Avatar
+0 forum 12

Hi! This is my first post in this forum. Thanks in advance to anyone who can help with this! I hope this makes sense. I'm also relatively new to PHP, so I hope I have used terminology correctly in describing the problem. I am not sure how to accomplish what needs to be done. This is a complicated problem for me and I have tried to include the necessary code examples below without putting hundreds of lines in here to wade through. The scenario is that I'm creating a page within an e-commerce site that will allow the user to …

Member Avatar
Member Avatar
+0 forum 3

I'm having a problem with a navigation map that uses javascript and CSS to shift a sprite. The sprite image is located at [url]www.eagleonedims.com/images/navmap.jpg[/url]. On each <li> rollover, I need the ENTIRE sprite shifted by 88px to account for the overlapping effect. The page in question is located at [url]www.eagleonedims.com/index2.php[/url]. If you view this page in IE, the navigation rollover works. However, it does not work in Chrome. I have not tested Firefox. NOTE: I've only setup the HOME button. Any ideas why it will not work in Chrome? It's frustrating me to say the least. Thanks in advance! Here's …

Member Avatar
Member Avatar
+0 forum 2

Hello, I have a jQuery datpicker setup like this: [CODE] <script type="text/javascript"> $(function() { $('input').filter('#startPicker').datepick({ minDate: new Date(2010, 11, 20), maxDate: new Date(2010, 11, 27), multiSelect: 999, altField: '#date' }); }); </script> [/CODE] is it possible to show the number of dates the user clicks on in the altfield, or somewhere else? thanks alot!

Member Avatar
+0 forum 0

Hi all. I am trying to workout how to show the default value of a text box when you click off it. I have already got the code for the onclick but I would appreciate some help with the offclick. Thanks in advance. Cameron

Member Avatar
Member Avatar
+0 forum 1

Hello, I am trying to get the element of an option, but seems my code is not working: <script type="text/javascript"> /*<![CDATA[*/ function reportsendipp() { if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { ; } } xmlhttp.open("GET","report_member.php?report=" + document.getElementById("ipps").value + "&&member=" + document.getElementById("track").value, true); xmlhttp.send(); } /*]]>*/ </script> <form style="display: none" id="ipp" action=""> <select id="ipps" name="report_ipp"> <option value="-1">Choose a type</option> <option value="1">&nbsp;Report Test One</option> <option value="2">&nbsp;Report Test Two</option> <option value="3">&nbsp;Report Test Three</option> </select> <input onclick="reportsendipp()" type="button" value="Report" />&nbsp;<input onclick="cancelreportipp()" type="button" value="Cancel" /> </form> <div><input style="display: none" id="track" value="15" /></div> What i …

Member Avatar
Member Avatar
+0 forum 6

[CODE] <html> <link rel="stylesheet" media="screen" href="DynCalendar/dynCalendar.css" /> <script language="javascript" type="text/javascript" src="DynCalendar/browserSniffer.js"></script> <script language="javascript" type="text/javascript" src="DynCalendar/dynCalendar.js"></script> <body> <table width="703" height="210" border="1" cellpadding="5" cellspacing="0"> <tr> <td width="535"><form name="Add_Record"><form action="insert.php" method="POST"> <p class="Headings"><strong>Add a Record</strong> </p> <p>First Name: <input type="text" size="20" maxlength="20"name="firstname" /> Last Name: <input type="text" size="20" maxlength="20" name="lastname" /> </p> <p>Days Used: <input type="int" size="3" maxlength="3"name="DaysUsed" /> Hours Used: <input type="int" size="4" maxlength="4"name="HoursUsed" /> Leave Type: <select name="type"> <option value="0"> </option> <option value="Sick">Sick</option> <option value="Vacation">Vacation</option> <option value="Business">Business</option> <option value="Funeral">Funeral</option> <option value="Other">Other</option> <option value="Errand">Errand</option> </select> </p> Start Date: <input type="text" name="StartDate"> <script language="JavaScript" type="text/javascript"> <!-- /** * Example callback function */ function …

Member Avatar
Member Avatar
+0 forum 1

The End.