15,127 Topics

Member Avatar for
Member Avatar for mattsheets

Hello! I am needing a non-realitme note/reivew system like the former iWork.com's "Review" feature, I am hoping one already exsist but I haven't been able to find one yet. Here is a image if what I am hoping to find: http://cdn.appstorm.net/mac.appstorm.net/files/2009/01/picture-7-620x402.png

Member Avatar for mattsheets
0
145
Member Avatar for Djmann1013

Anyone know of a way to auto-grab songs? I want to make a playlist of songs so that I can make a playlist and listen to them. I've tried making a script but it somewhat worked, it opens the menu but it doesn't add it to the playlist. Here is …

Member Avatar for Djmann1013
0
215
Member Avatar for vizz

var mct1_Options = { sliderId: "mcts1", direction: "horizontal", scrollInterval: 1400, scrollDuration: 800, hoverPause: true, autoAdvance: true, scrollByEachThumb: true, circular: true, largeImageSlider: null, inSyncWithLargeImageSlider: true, license: "b2e98" }; var thumbnailSlider = new ThumbnailSlider(mct1_Options); function ThumbnailSlider(f) { var g = "length", i = "className", T = function (a, c) { var b …

Member Avatar for vizz
0
279
Member Avatar for jonsan32

Let's say I have a banner on my site that randomly rotates between images that depict the month of January. Is it possible to have 10 images randomly rotate the entire month, then to have a new 10 images rotate randomly for the following month? I also need each image …

Member Avatar for mattster
0
504
Member Avatar for better.atbcs

Here is the problem: Write a program to find future value of monthly investments. Start with an initial investment, make a deposit every 30days, calculate interest on principle compounded daily, display a table showing beginning balance, deposit for the year, interest earned for the year, and ending balance. The table …

Member Avatar for AleMonteiro
0
226
Member Avatar for xbat

I am getting $.ajax is not defined with firebug - maybe missing bracets? any ideas? <script language="javascript" type="text/javascript"> function get_place(jack) { $.ajax({ type: "POST", url: "fruit.php", beforeSend: function () { $("#city").html("<option>Loading ...</option>"); }, data: "cartowner="+cartowner, success: function(msg){ $("#city").html(msg); } }); } </script>

Member Avatar for qwqdqw
0
5K
Member Avatar for renKill

Hi, I am learning javascript. I started in w3schools, but it's not enough. Is there any good downloadable javascript ebook from the internet and websites that will give me exercises, projects and quizzes regarding javascript.

Member Avatar for mattster
0
100
Member Avatar for joshua_8

$("#testing").change(function() { var id = $(this).val(); $.ajax({ url:'Servlet', type:"get", dataType: "json", async: false, cache: false, processData: false, data: id, sucess: function(result) { alert(result); }, error: function(req, err) { console.log('my message' + err); } }); return false; });

Member Avatar for minitauros
0
136
Member Avatar for minitauros

So I've given RequireJS a try this weekend, and although it appears to work pretty smooth, I can't figure out one thing: How do I combine PHP and Javascript while using RequireJS? See, RequireJS can only work with .js files, meaning that it cannot "require" .php files. In many files, …

Member Avatar for minitauros
0
725
Member Avatar for srikanth_1

<html> <head> <title>Entitled Document</title> <script language="JavaScript"> function getCount(){ var cn = new ActiveXObject("ADODB.Connection"); var strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = F:\PhoneGap\bloodGroupDataBase.accdb;Persist Security Info=False"; //is there any wrong in this connection string cn.Open(strConn); var rs = new ActiveXObject("ADODB.Recordset"); var SQL = "select count(*) from sheet1"; rs.Open(SQL, cn); alert(rs(0)); rs.Close(); cn.Close(); } </script> …

-1
45
Member Avatar for irfan_4

I have a text item in which date return from calender in formate like dd/mm/yyyy now i want to convert this formate to dd-mon-yyyy in javascript...How i can do this.?

Member Avatar for irfan_4
0
160
Member Avatar for razar63

Im trying to bebug some javascript in firefox and I keep getting this error. SyntaxError: syntax error data: {action: addtocart, id: <br /> the javascript is this: <script type="text/javascript"> jQuery(document).ready(function($){ $('#button').on('click', function(e){ $.ajax({ url: 'shopping2/includes/functions.php', type: 'POST', data: {action: addtocart, id: <?php echo $pid; ?> }, cache: false, success: function(data){ …

Member Avatar for hericles
0
289
Member Avatar for srikanth_1

<html> <head> <title>Entitled Document</title> <script language="JavaScript"> function getCount(){ var cn = new ActiveXObject("ADODB.Connection"); var strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = F:\PhoneGap\bloodGroupDataBase.accdb;Persist Security Info=False"; //is there any wrong in this connection string cn.Open(strConn); var rs = new ActiveXObject("ADODB.Recordset"); var SQL = "select count(*) from sheet1"; rs.Open(SQL, cn); alert(rs(0)); rs.Close(); cn.Close(); } </script> …

0
79
Member Avatar for problemsolver

Hi, My website is hosted within Hostgator servers, how can I render LaTeX mathematical formulae in HTML pages without using WordPress?

Member Avatar for pritaeas
0
48
Member Avatar for joshua_8

Hi I have a requestdispatcher in my doGet and a ajax get method in my jsp, I could System.out.println get my data from my ajax get method and is trying to populate this data to my 2nd dropdown. Help needed, thanks. RequestDispatcher requestDispatcher = request.getRequestDispatcher("/account.jsp"); requestDispatcher.forward(request, response);

0
75
Member Avatar for sushant_1

I am loading shortcodes using ajax in my webpage. I am able to load shortcodes ( which essentially consists of a slider wherein when we hover over a slider, a different image comes) but the "on-hover" functionality is not working on the new sliders loaded. When i move my mouse …

Member Avatar for sushant_1
0
251
Member Avatar for patk570

Hello, I am looking for a script to add items to a database that can be found in the my account section, The table in the database is structured: id | user_id | slug I want to use the ajax to update and remove it later on down the road …

Member Avatar for matrixdevuk
0
3K
Member Avatar for phfilly

Hi guys, Can anyone please help me with this simple error. Jquery is not my strongest suite but I feel like this is something small that I'm missing. With the code below I get the error 'undefined'. html: `<a href='#' ><img src= "./images/1.jpg" width= '200px' id="2" rel="arm1" onclick = 'test()' …

Member Avatar for phfilly
0
2K
Member Avatar for fheppell

I've got a form, that sometimes needs to have a button allowing people to authorize with stripe. To save their data I'm submitting the form to a php file, that compiles the auth URL and saves their data. This javascript function is run when the button is clicked: function stripeAuth(){ …

Member Avatar for Robert_17
0
234
Member Avatar for joshua_8

Convert string arraylist to string array ArrayList categoryList; // data is [Apple, Orange] How do you convert to string array with the same data in the arraylist

Member Avatar for gabrielcastillo
0
94
Member Avatar for joshua_8

//jsp $("#year1").change(function(){ var dataString = $(this).val(); $.ajax({ type: "POST", url:"Servlet", dataType: "json", data: { year :JSON.stringify(dataString) }, success: function(result) { console.log(result); $('#category1').multipleSelect({ filter: true, selectAll: false }); } }); return false; }); //servlet response.setContentType("text/html;charset=UTF-8"); PrintWriter out = response.getWriter(); String[] year = request.getParameterValues("year1"); //error //Hi now my code is based on …

0
85
Member Avatar for joshua_8

$("#form1").submit(function(e){ e.preventDefault(); }); $("#submit").click(function(e){ dataString = $("#form1").serialize(); var new = $("input#new").val(); dataString = "new=" + new; $.ajax({ type: "POST", url: "Servlet", data: dataString, dataType: "json", success: function( data, textStatus, jqXHR) { //our country code was correct so we have some information to display if(data.success){ $("#ajaxResponse").html(""); $("#ajaxResponse").append("<b>Country Code:</b> " + data.countryInfo.code …

Member Avatar for wherrelz
0
268
Member Avatar for nadiam

Hi. so i have a div/form like this: ![957d3e17b3579941c6bf92e594745d43](/attachments/large/4/957d3e17b3579941c6bf92e594745d43.jpg "957d3e17b3579941c6bf92e594745d43") depending on the drop down value chosen that number of forms will appear like if value 2 chosen then 2 forms will appear if 4 then 4. the code is this: $("select[name=children]").on("change", function(){ var num_forms = $(this).val(); var form = …

Member Avatar for mangel.murti
0
271
Member Avatar for arafath077

How to validate Jquery UI auto complete filed. Im using [bootstrapvalidator](http://bootstrapvalidator.com/) to validate filed.I tried with this code its not working. $('#f_flying_from') .change(function (e) { $('#flights-tab-form').bootstrapValidator('revalidateField', 'f_flying_from'); });

Member Avatar for arafath077
0
142
Member Avatar for phfilly

Hi guys, Was wondering if you could help me please. So I have a list of menu elements from which I can drag elements into a div tag. This all works fine. But I'm struggling to replace the elements with each other. So say for instance I already have an …

Member Avatar for phfilly
0
125
Member Avatar for efe.ozyer

$scope.works = [ { wproperties:'<span>text #1</span><span>text #2</span><span>text #2</span><span>text #3</span>' } ] <span ng-bind-html="work.wproperties"></span> span is printing as null, who can help me? controllers and ng-app working so ng-bind-html not working..

Member Avatar for hericles
0
126
Member Avatar for kindo

The ajaxForm function is not working well. It returns an error. Here is my code: Html: <form class="t1-form" action="ajax/upload.php" method="post" accept-charset="UTF-8" id="form" enctype="multipart/form-data"> <textarea class="txtbox" placeholder="" role="textbox" title="" name="post"></textarea> <div class="photo-selector"><button type="button" class="btn btn-default" title="attach image"><i class="fa fa-camera fa-fw"></i>&nbsp;Upload</button><div class="image-selector"><input type="hidden" name="photoId" value="" id="photoId" class="file-data" autocomplete="off"><label class="t1-label"><span class="visuallyhidden">Add photo</span> <input …

Member Avatar for JorgeM
0
134
Member Avatar for HuePig

Hi, I'm trying to get the value from a javascript: `window.locaiton.href = "db/create_eoi.php?refNum=" + rNum;`. <?php if(isset($_GET["rNum"])){ $refNum = trim($_GET["rNum"]); } ?> the problem is that where ever I use `$refNum` I get an error saying Undefined Variable. To be more clear: what im doing is getting a value from …

Member Avatar for HuePig
0
202
Member Avatar for Jamie_5

I am currently developing a Simon says type game using jquery and javascript. I have linked a fully copy of the game on github Github download and unzip to see the game fully https://github.com/Jamiex304/Simon_Says_Game_Demo And I have reached a problem I want to add a timer that the player can …

0
92
Member Avatar for terrymold

Hi I have a problem in which an HTML/JavaScript page, using the excellent AblePlayer Audio Player, which runs perfectly on my Home server (Latest version of Wamp), but will not run when it is uploaded to our 1and1 shared server space. The code for this page is shown below, and …

Member Avatar for terrymold
0
287

The End.