356 Posted Topics

Member Avatar for riahc3

What exactly is "OP Kudos"? I thought it was when you vote up the OP of a thread but that doesnt seem to be the case...

Member Avatar for riahc3
0
157
Member Avatar for yaragalla_mural
Member Avatar for riahc3

Hello Im trying to modify something when clicking on a input text field. The id of that field is cart[1223686][qty]. Tried your standard: $j("#cart[1223686][qty]").click(function() { alert("Handler for .click() called."); }); But nothing. What is wrong? (Yes, $j is correct)

Member Avatar for riahc3
0
144
Member Avatar for JayJ

Why var t2choice = $('#t2choice').attr('value'); var t3choice = $('#t3choice').val(); ? They SHOULD both be the same but...

Member Avatar for riahc3
0
300
Member Avatar for welshly_2010

If it intrests you, I do something similar except with a database: html: <div id="fa"></div> php: myfun: function() { $j.ajax({ // Start AJAX function url: 'mysqlcall.php', //script that gets the data async: false, //for me it had to be async data: "pam="+varpam, //url argumnets here to pass //for example "id=5&parent=6" …

Member Avatar for gon1387
0
198
Member Avatar for riahc3

Hello Lets clear it up a bit: I want to get the width and height of the browser window where I can click. This does not include scrollbars/toolbars. I thought it was with innerheight/width. Strangly, width works (I resize it and onload shoots a alert and it is changed) but …

Member Avatar for riahc3
0
278
Member Avatar for riahc3

Hello Now that I know how to get the width/height, how can I detect if the browser is maximized or not? Crossbrowser of course. Thanks

Member Avatar for AleMonteiro
0
234
Member Avatar for McLaren

Closest you are going to get: https://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html Other than that, you'll problably have to do some kind of server side login....

Member Avatar for McLaren
0
143
Member Avatar for biswa2ray

I completely agree. JQueryUI's Datepicker is great and allows you to customize things to your extent. Sad that sometimes you have to load that library JUST for the datepicker...

Member Avatar for riahc3
0
146
Member Avatar for riahc3

Hello What is a universal way to make a windows/browser maximized or fullscreen? I understand user intervention is neccesary so it can be a button even though I perfer automatically (even if it is maximized instead of fullscreen) Thank you

Member Avatar for riahc3
0
46
Member Avatar for StefanRafa0

So let me get this straight: You want a form that you can login or register. If you register, it asks you to put a username, password and (for example) telephone, address, email, etc If you login, it shows you your telephone, address, email, etc.... All this information is stored …

Member Avatar for tux4life
0
359
Member Avatar for riahc3

Hello Im currently creating BMPs as a bufferedimage as following: BufferedImage bufferedImage = new BufferedImage(320, 320, BufferedImage.TYPE_INT_RGB); Thing is that black and white is more than enough for me so would I do this: BufferedImage bufferedImage = new BufferedImage(320, 320, BufferedImage.TYPE_BYTE_BINARY); ? Thanks

Member Avatar for riahc3
0
86
Member Avatar for riahc3

Im trying to set a session variable using AJAX but it doesnt seem to work: This is my PHTML page: <?php session_start(); ?> //SOME CODE <script type="text/javascript"> $j(document).ready(function() { var variablecalle=$j("#listadetiendas").val(); var data = 'calle='+variablecalle; $j.ajax({ url: '../../updatesession.php', type: 'POST', data: data }) }); Then this is my "updatesession.php" page: …

Member Avatar for riahc3
0
12K
Member Avatar for riahc3

Hello I have this drawing program on a canvas and when it is on the top left corner of the document, when I move the cursor over the canvas and it previews the point Im going to click it is perfect. But when I move the canvas (say 5 pixels) …

Member Avatar for riahc3
0
79
Member Avatar for riahc3

Hello I want to create a button that when the user clicks on it, the browser goes automatically fullscreen. It would be for mainly IE9 and I use for the rest of the browsers the HTML5 fullscreen API. Thanks

Member Avatar for diafol
0
228
Member Avatar for AARTI SHRIVAS

Id start with FirePHP and tell us if thats good enough or if something is missing...

Member Avatar for AARTI SHRIVAS
0
386
Member Avatar for riahc3

Hello I have a combobox which has some values. When I click on it and select a item (with my mouse, for now) I want to get those values. Im not sure if its mousedown or comboboxchange or how its called. Now Im a completely noob when it comes to …

Member Avatar for Taywin
0
202
Member Avatar for jacob21

https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html (My tests: Works in Firefox and Chrome. IE9 does not support it) Having said that, I am completely against this method and I hope it gets dropped by the time the standard is finalized.

Member Avatar for jacob21
0
6K
Member Avatar for riahc3

Hello By the way Javascript works Im not sure if this is possible but I would like to debug Javascript much like debugging C# or/and Java; I put a breakpoint in a line and press (for example) F5 so it goes to the next line/function and pauses and keeps going …

Member Avatar for riahc3
0
252
Member Avatar for riahc3

Hello I want to make a C# web services for XAMPP (basically Apache). I know I have to download a mod for this but first thing is first: Where is a good guide to read on how to create a web service? Guides Ive found are either outdated or very …

Member Avatar for AleMonteiro
0
879
Member Avatar for riahc3

Hello I wish to convert the following jQuery each to fors....This way I can see it a lot clearer.... var draws = this.canvasListener.getDrawManager().getAll(); $j.each(draws, function(index, draw) { var points = draw.getPointManager().getAll(); $j.each(points, function(index, point) { }.bind(this)); } Yes, I know "each" is faster and better optimize but I dont care. …

Member Avatar for riahc3
0
145
Member Avatar for riahc3

Ive created a dropdown box dynamically getting datea from a database but when I try to get (or set) the first value, it always says undefined. Ive tried something like: $j("#mydiv").val(1); var somevariable = $j("#mydiv").val(); console.log ("print it out " + somevariable); And it says print it out undefined If …

Member Avatar for riahc3
0
171
Member Avatar for riahc3

Hello Im wondering if Thickbox is movable. If not, is there a alternative that I can quick change to (meaning almost no transtition) so I make a modal window movable....Must support iframes.

Member Avatar for riahc3
0
98
Member Avatar for riahc3

Man that was a mouthful! Basically I have a page which when I click on a button, a jQuery (iframe) window comes up. Here there is a combobox that should be filled with values I read from a database. Ive been reading two pages: http://openenergymonitor.org/emon/node/107 http://stackoverflow.com/questions/8019489/simple-ajax-jquery-script-how-can-i-get-information-for-each-of-the-rows-in-the But Im having problems …

Member Avatar for riahc3
0
954
Member Avatar for cmabill

https://google-developers.appspot.com/maps/documentation/javascript/examples/map-simple There is a map example. View the code. It is VERY easy.... BTW, noone knows "simple Dreamweaver" as it is a program, not a programming language. What you may/may not know is PHP/JS/HTML/etc....

Member Avatar for riahc3
0
288
Member Avatar for 0Usama.Naeem0

The question is why? The website seems to be recreational (nothing towards coorp users) which would be at MIN running Windows 2000 (Windows 2000 can run up to IE6 only). XP (your true MIN "core audicence") runs up to IE8. You should test against IE8 if anything. Even if that, …

Member Avatar for riahc3
0
101
Member Avatar for Pervex

Just to comment: > data: {'username' : value}, Im not sure if that actually works, specially with GET. I say this because Im doing something similar (also with GET) and I use data: "parameternametopass="+valueofvariablestopass, And it works for me. On difference is that my datetype is JSON and yours is …

Member Avatar for riahc3
0
601
Member Avatar for PaliGap

> I have a project where my code will have to coexist with code in web pages designed elsewhere. My code will use jQuery, and so there may be an issue if the parent page already runs jQuery (and maybe jQuery plugins). I would have thought the correct thing to …

Member Avatar for riahc3
0
198
Member Avatar for riahc3

Hello Ive created a button dynamically using Javascript and now I want to automatically click on it. The code I create (actually modify) the button is something similar to: $j(idtext, window.parent.document).html('I am a button<input type="hidden" id="imagenv" name="imagenv" value="'+imgstr+'"/>'); Now I want to automatically click on it. Ive tried .live() (I …

Member Avatar for EvolutionFallen
0
6K
Member Avatar for riahc3

Hello I answered my own thread and marked the thread as solved but it gave another user (which really didnt help at all) the "solved post". How can I select who and what post solved the thread?

Member Avatar for diafol
0
220
Member Avatar for riahc3

I habe table one with Col 1 (PK) Col 2 (NN) Col 3 (NN) Col 4 (NN) Col 5 (NN) Col 6 Col 7 Col 8 Then I create table two with Col 1 (PK) (AI) Col 2 Col 3 (FK) That col 3 from table two is col 1 …

Member Avatar for pritaeas
0
123
Member Avatar for riahc3

Hi This is related to 3 threads: http://www.daniweb.com/software-development/java/threads/438729/recursive-ftp-listingmakingcreatingetc-access http://www.daniweb.com/software-development/java/threads/439941/recursive-ftp-listingmakingcreatingetc-access...-part-2 http://www.daniweb.com/software-development/java/threads/442142/recursive-ftp-listingmakingcreatingetc-access...-part-3 At first, I had NO clue where to even start. Over a couple of weeks, Ive slowly but surely started to make the process correctly but Im stumpped so (for the third time) ive thought of rewriting everything from sratch. …

Member Avatar for riahc3
0
255
Member Avatar for riahc3

I apoligize for making so many topics about this......Its just that different methods have proved pointless and do not work. I want to do the following: I only have two functions right now: createfolder (Function A) and insertfile (Function B). Nothing else. My requirements are the following: Random number is …

0
68
Member Avatar for riahc3

In java what is the best way to create a truely random number sequence? One that is 100% never to be repeated again Thank you

Member Avatar for jalpesh_007
0
415
Member Avatar for riahc3

This a followup to these two threads: http://www.daniweb.com/software-development/java/threads/438729/recursive-ftp-listingmakingcreatingetc-access http://www.daniweb.com/software-development/java/threads/439941/recursive-ftp-listingmakingcreatingetc-access...-part-2 For the "real thing" Ive decided to break it to two function: Insert file and make directory. Ill reexplain what I am trying to do. Im going to go a folder called "webfolder". If it isnt found, it is created. If …

Member Avatar for riahc3
0
324
Member Avatar for riahc3

Hello Im looking for a good date picker and easy to implement. HTML, PHP, and/or Javascript. Since this is professional, I need also several things: 1: Language support. 2: If I pick Feburary, it doesnt show a legal day as 31 3: 3 dropdown boxes: One for month, another for …

Member Avatar for pritaeas
0
112
Member Avatar for riahc3

Hello I want to remove this: > As you see it is a blank but the regular variable.replace(/\s+/g,''); does not work. I generate this character with Alt+0160 The best way would be its ascii code so how do I do it?

Member Avatar for riahc3
0
235
Member Avatar for riahc3

Hello First off the server is running Windows 7 32bits. I have the following code: <?php $fp = fopen(getcwd()."/test.txt", "w"); fwrite($fp, "hello"); chmod(getcwd()."/test.txt", 0777); unlink(getcwd()."/test.txt"); fclose($fp); ?> It creates the file perfectly but afterwards I cannot delete it. Giving me this error: Warning: unlink(C:\test.txt) [function.unlink]: Permission denied in C:\writeanddel.php on …

Member Avatar for Ezzaral
0
1K
Member Avatar for riahc3

Hello I want to do a indexOf but of certain special characters such as variable.indexOf(''')==-1) variable.indexOf('/')==-1) variable.indexOf('')==-1) variable.indexOf('"')==-1) etc, etc. How can I do this?

Member Avatar for pritaeas
0
74
Member Avatar for riahc3

Hello I want to make a simple bat file in Windows 7 but the command (route) only works in admin mode so I would have to ask for admin premissions. How do I do this in a bat file? Thank you

Member Avatar for riahc3
0
112
Member Avatar for riahc3

(The answers for getting a reply for this HERE are near null but might as well give it a shot....) Hello My products have a item option that is stored in “sales_flat_quote_item_option”. This happens when I select this option for the product and I add the product to that cart. …

Member Avatar for riahc3
0
74
Member Avatar for riahc3

Hey I want to Load/read/write a big file (ISO) in C#. Ive tried various combinations (FileStream, BinaryStream, etc) but all of them give me a "OutOfMemory" exception. What is the best way to load a big file into C# to work with it? Ill be using the DiscUtils library if …

Member Avatar for BobS0327
0
402
Member Avatar for riahc3

This is a continuation of the last thread. I insert 3 files: Two bins (path and a number) and either a jpg or a bmp This does the following. 1: Connects to FTP and changes to C:/ (/) 2: It checks if a webfolder exists. If it is, goes to …

Member Avatar for riahc3
0
461
Member Avatar for JamesCherrill

The best way without is the first method. If Id write the second method, Id just go all out: if (something) { do something} else { do another thing} If Im going to make code unclear with the second method, I just make it 100% sloppy instead of 50%. The …

Member Avatar for JamesCherrill
0
379
Member Avatar for PriteshP23

Looks like you should use 149..... Remember positions start at 0 and end at one less of your declared value. Example: int[] hi=new int[5]; Has these positions: hi[0] hi[1] hi[2] hi[3] hi[4]

Member Avatar for PriteshP23
0
187
Member Avatar for Brick Wall

int[] yourarray; String guess = "4"; for (int j=0; j < yourarray.Length;j++ ) { if (yourarray[j].ToString()==guess) { MessageBox.Show("Guessed!"); break; } } Are you new to C#? This is a example but I think this more or less shows you how to do it. Mark as solved please :)

Member Avatar for xerohomicide
0
129
Member Avatar for weeraa
Member Avatar for 9tontruck

> returns lots Configuration Error. "Lots of" configuration errors doesnt tell us much....

Member Avatar for riahc3
0
222
Member Avatar for CDRIT

> I can provide any code that that may be helpful I am 101% positive that if you posted all the code, people would have saw the flaw A LOT faster......

Member Avatar for riahc3
0
210
Member Avatar for tet3828

> I can't figure out where in the loops to place my ExecuteNonQuerys and how to structure my sqlcommands My recommendation is to make subfunctions such as (Psuedocode) function insert(string table, string data, string whereclause) { //comands to insert structured correctly } This make life a lot more simpler when …

Member Avatar for riahc3
0
225

The End.